Build: #663 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

2 add dataset twice: Test case result

The below summarizes the result of the test "2 add dataset twice" in build 663 of FLARECAST - propertyservice - Default Job. View test case history
Description
2 add dataset twice
Test class
dataset_tests.DatasetTests
Method
test_2_add_dataset_twice
Duration
< 1 sec
Status
Failed (New Failure)

Error Log

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

    def test_2_add_dataset_twice(self):
        result = post_request(
>           self.service_url + self.__ADD_DATASETS, [TEST_DATASETS[0]]
        )

dataset_tests.py:26: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

url = 'http://localhost:8002/dataset/bulk'
payload = [{'description': '...', 'name': 'test_ds1', '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