Build: #429 failed
Job: Default Job failed
1 add links: Test case result
The below summarizes the result of the test "1 add links" in build 429 of FLARECAST - propertyservice - Default Job.
- Description
- 1 add links
- Test class
- link_tests.LinkTests
- Method
- test_1_add_links
- Duration
- < 1 sec
- Status
- Failed (New Failure)
Error Log
test setup failure
self = <class 'tests.link_tests.LinkTests'>
@classmethod
def setUpClass(self):
super(LinkTests, self).setUpClass()
> post_request(self.service_url + self.__ADD_DATASETS, TEST_DATASETS)
link_tests.py:24:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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 RestException(r)
E RestException: {
E "status": 500,
E "type": "about:blank",
E "detail": "The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.",
E "title": "Internal Server Error"
E }
util.py:12: RestException