test_create#
datacatalog_post_request#
Parameters:
Name | Type | Description | Default |
---|---|---|---|
admin_client |
Authenticated admin client |
required | |
datacatalog_json |
JSON-body for new data-catalog |
required |
Returns: Response object
Source code in tests/behave/features/datacatalog/test_create.py
datacatalog_from_post_request#
Parameters:
Name | Type | Description | Default |
---|---|---|---|
datacatalog_post_request |
POST-request to datacatalog-api |
required | |
datacatalog_json |
POST-request body used to load instance from database |
required |
Returns:
Name | Type | Description |
---|---|---|
DataCatalog |
DataCatalog
|
instance created from POST-request |
Source code in tests/behave/features/datacatalog/test_create.py
is_created_datacatalog_in_db#
Parameters:
Name | Type | Description | Default |
---|---|---|---|
datacatalog_from_post_request |
datacatalog fetched from the db after creation |
required |
Source code in tests/behave/features/datacatalog/test_create.py
is_response_create_ok#
Parameters:
Name | Type | Description | Default |
---|---|---|---|
datacatalog_post_request |
POST-request to datacatalog-api |
required |