def test_empty_update(self): hosts.create('host_1', h1) self.assertEqual(1, hosts.count()) self.assertEqual('ubuntu', hosts.get('host_1').distro_id)
def test_empty_get(self): self.assertEqual(0, hosts.count())