Build: #589 failed
Job: Default Job failed
2 add property group twice: Test case result
The below summarizes the result of the test "2 add property group twice" in build 589 of FLARECAST - propertyservice - Default Job.
- Description
- 2 add property group twice
- Test class
- property_group_tests.PropertyGroupTests
- Method
- test_2_add_property_group_twice
- Duration
- < 1 sec
- Status
- Failed (Existing Failure)
Error Log
test setup failure
self = <class 'tests.property_group_tests.PropertyGroupTests'>
@classmethod
def setUpClass(self):
super(PropertyGroupTests, self).setUpClass()
> post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
property_group_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