Exemple #1
0
    def test_empty_update(self):
        hosts.create('host_1', h1)

        self.assertEqual(1, hosts.count())
        self.assertEqual('ubuntu', hosts.get('host_1').distro_id)
Exemple #2
0
 def test_empty_get(self):
     self.assertEqual(0, hosts.count())