~shakhat/os-faults/master

« back to all changes in this revision

Viewing changes to os_faults/tests/unit/api/test_node_collection.py

  • Committer: Ilya Shakhat
  • Date: 2018-12-17 16:54:46 UTC
  • Revision ID: git-v1:8f7e490c758e75acd1539908105e77a6dce88af3
Remove deprecated methods

Change-Id: Ie0361a0607d0467bc61eef4b5212c562883db43e

Show diffs side-by-side

added added

removed removed

Lines of Context:
122
122
    def test_iter(self):
123
123
        self.assertEqual(self.hosts, list(self.node_collection))
124
124
 
125
 
    def test_iterate_hosts(self):
126
 
        self.assertEqual(self.hosts,
127
 
                         list(self.node_collection.iterate_hosts()))
128
 
 
129
125
    def test_get_ips(self):
130
126
        self.assertEqual(['10.0.0.2', '10.0.0.3', '10.0.0.4', '10.0.0.5'],
131
127
                         self.node_collection.get_ips())