Commit 9fab46cd authored by Tanner Prestegard's avatar Tanner Prestegard

Updates to some unit tests to match server changes

parent 72d5ec72
......@@ -657,7 +657,7 @@ class TestSuperevents(TestGraceDb):
self.assertEqual(ret_data['status'], 'OK')
self.assertEqual(ret_data['comment'], 'looks good')
self.assertEqual(ret_data['instrument'], '')
self.assertEqual(ret_data['signoff_type'], 'advocate')
self.assertEqual(ret_data['signoff_type'], 'ADV')
# Check signoff from API signoff list
response = self._gracedb.signoffs(self._superevent)
......@@ -668,7 +668,7 @@ class TestSuperevents(TestGraceDb):
self.assertEqual(signoff['status'], 'OK')
self.assertEqual(signoff['comment'], 'looks good')
self.assertEqual(signoff['instrument'], '')
self.assertEqual(signoff['signoff_type'], 'advocate')
self.assertEqual(signoff['signoff_type'], 'ADV')
# Test retrieving the same signoff directly rather than from
# the list of signoffs for this superevent
......@@ -679,7 +679,7 @@ class TestSuperevents(TestGraceDb):
self.assertEqual(signoff['status'], 'OK')
self.assertEqual(signoff['comment'], 'looks good')
self.assertEqual(signoff['instrument'], '')
self.assertEqual(signoff['signoff_type'], 'advocate')
self.assertEqual(signoff['signoff_type'], 'ADV')
# Check label status
response = self._gracedb.labels(self._superevent)
......@@ -698,7 +698,7 @@ class TestSuperevents(TestGraceDb):
self.assertEqual(ret_data['status'], 'NO')
self.assertEqual(ret_data['comment'], 'not OK')
self.assertEqual(ret_data['instrument'], '')
self.assertEqual(ret_data['signoff_type'], 'advocate')
self.assertEqual(ret_data['signoff_type'], 'ADV')
# Check signoff from API
response = self._gracedb.signoffs(self._superevent)
......@@ -709,7 +709,7 @@ class TestSuperevents(TestGraceDb):
self.assertEqual(signoff['status'], 'NO')
self.assertEqual(signoff['comment'], 'not OK')
self.assertEqual(signoff['instrument'], '')
self.assertEqual(signoff['signoff_type'], 'advocate')
self.assertEqual(signoff['signoff_type'], 'ADV')
# Check label status
response = self._gracedb.labels(self._superevent)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment