Example #1
0
def get_uuid():
    response, building = add_benchmark_link()
    return building
Example #2
0
 def test_user_id_add_benchmark_link(self):
     response, building = add_benchmark_link()
     a = json.loads(
         response.text)['data']['addBenchmarkLink']['createUserId']
     assert a == token.user_id
Example #3
0
 def test_data_add_benchmark_link(self):
     response, building = add_benchmark_link()
     a = json.loads(response.text)['data']['addBenchmarkLink']['data']
     assert a == benchmarkRequests.data
Example #4
0
 def test_location_id_add_benchmark_link(self):
     response, building = add_benchmark_link()
     a = json.loads(
         response.text)['data']['addBenchmarkLink']['benchmarkLocationId']
     assert a == benchmarkLocationId
Example #5
0
 def test_uuid_add_benchmark_link(self):
     response, building = add_benchmark_link()
     assert building is not None
Example #6
0
 def test_status_code_add_benchmark_link(self):
     response, building = add_benchmark_link()
     assert response.status_code == 200