def test_dict(self): device = BaseBackend() dictionary = device._dict({}) self.assertTrue(isinstance(dictionary, dict))