Skip to content

Commit b5402da

Browse files
final fixes
1 parent 5a4508d commit b5402da

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/managers/vs_tests.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,6 @@ def test_active_and_provisiondate(self):
767767
value = self.vs.wait_for_ready(1, 1)
768768
self.assertTrue(value)
769769

770-
771770
def test_active_provision_pending(self):
772771
# active transaction and provision date
773772
# and pending should be false
@@ -795,10 +794,10 @@ def test_active_reload(self):
795794
def test_reload_no_pending(self):
796795
# reload complete, maintance transactions
797796
self.guestObject.return_value = {
798-
'activeTransaction': {'id': 2},
799-
'provisionDate': 'aaa',
800-
'lastOperatingSystemReload': {'id': 1},
801-
}
797+
'activeTransaction': {'id': 2},
798+
'provisionDate': 'aaa',
799+
'lastOperatingSystemReload': {'id': 1},
800+
}
802801

803802
value = self.vs.wait_for_ready(1, 1)
804803
self.assertTrue(value)
@@ -824,7 +823,6 @@ def test_ready_iter_once_incomplete(self, _sleep):
824823
self.assertFalse(value)
825824
_sleep.assert_has_calls([mock.call(0)])
826825

827-
828826
@mock.patch('time.sleep')
829827
def test_iter_once_complete(self, _sleep):
830828
# no iteration, true

0 commit comments

Comments
 (0)