Build: #589 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

1 add datasets: Test case result

The below summarizes the result of the test "1 add datasets" in build 589 of FLARECAST - propertyservice - Default Job. View test case history
Description
1 add datasets
Test class
dataset_tests.DatasetTests
Method
test_1_add_datasets
Duration
3 secs
Status
Failed (Existing Failure)

Error Log

Exception: <Response [500]>
self = <tests.dataset_tests.DatasetTests testMethod=test_1_add_datasets>

    def test_1_add_datasets(self):
        result = post_request(
>           self.service_url + self.__ADD_DATASETS, TEST_DATASETS
        )

dataset_tests.py:20: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

url = 'http://localhost:8002/dataset/bulk'
payload = [{'description': '...', 'name': 'test_ds1', 'responsible': 'John Doe'}, {'description': '...', 'name': 'test_ds2', 'responsible': 'John Doe'}]

    def post_request(url, payload):
        headers = {'Content-Type': 'application/json'}
        r = requests.post(url, json=payload, headers=headers)
    
        if r.status_code != 200:
>           raise Exception(r)
E           Exception: <Response [500]>

util.py:11: Exception