feat: move unit tests to github actions on self-hosted runners (#28873)

This commit is contained in:
Aarif
2021-11-18 19:09:31 +05:00
committed by GitHub
parent a60f9ff82d
commit 39fe1a20e4
5 changed files with 161 additions and 3 deletions

View File

@@ -323,4 +323,7 @@ class TestRefundSignal(TestCase):
'tags': ['LMS'] + tags
}
}
self.assertDictEqual(json.loads(last_request.body.decode('utf8')), expected)
response_dict = json.loads(last_request.body.decode('utf8'))
response_dict['ticket']['tags'].sort()
expected['ticket']['tags'].sort()
self.assertDictEqual(response_dict, expected)