(self)
| 48 | class TestJSONHashing(unittest.TestCase): |
| 49 | |
| 50 | def test_json(self): |
| 51 | data_dict1 = {"b": "str2", "a": "str1"} |
| 52 | data_dict2 = {"a": "str1", "b": "str2"} |
| 53 | |
| 54 | h1 = json_hashing(data_dict1) |
| 55 | h2 = json_hashing(data_dict2) |
| 56 | self.assertEqual(h1, h2) |
| 57 | |
| 58 | |
| 59 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected