(self)
| 18 | |
| 19 | class TestQueryMemory(unittest.TestCase): |
| 20 | def test_output_str(self): |
| 21 | self.assertTrue(isinstance(query_memory(2), str)) |
| 22 | all_device = query_memory(-1) |
| 23 | self.assertTrue(isinstance(all_device, str)) |
| 24 | self.assertEqual(query_memory("test"), "") |
| 25 | |
| 26 | |
| 27 | if __name__ == "__main__": |
nothing calls this directly
no test coverage detected