Skip to content

Commit b082276

Browse files
author
Erick Sapp
committed
Fix style on vs_tests.py .
1 parent 4b13718 commit b082276

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/CLI/modules/vs_tests.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def test_rescue_vs(self, confirm_mock):
2323
self.assert_no_fail(result)
2424

2525
@mock.patch('SoftLayer.CLI.formatting.confirm')
26-
def test_rescue_no_confirm_vs(self, confirm_mock):
26+
def test_rescue_no_confirm_vs(self, confirm_mock):
2727
confirm_mock.return_value = False
2828
result = self.run_command(['vs', 'rescue', '100'])
2929

@@ -45,7 +45,7 @@ def test_reboot_no_confirm_vs(self, confirm_mock):
4545
confirm_mock.return_value = False
4646
result = self.run_command(['vs', 'reboot', '100'])
4747

48-
self.assertEqual(result.exit_code, 2)
48+
self.assertEqual(result.exit_code, 2)
4949

5050
@mock.patch('SoftLayer.CLI.formatting.confirm')
5151
def test_reboot_soft_vs(self, confirm_mock):
@@ -64,7 +64,7 @@ def test_reboot_hard_vs(self, confirm_mock):
6464
confirm_mock.return_value = True
6565
result = self.run_command(['vs', 'reboot', '--hard', '100'])
6666

67-
self.assert_no_fail(result)
67+
self.assert_no_fail(result)
6868

6969
@mock.patch('SoftLayer.CLI.formatting.confirm')
7070
def test_power_off_soft_vs(self, confirm_mock):
@@ -84,7 +84,7 @@ def test_power_off_no_confirm_vs(self, confirm_mock):
8484

8585
result = self.run_command(['vs', 'power-off', '100'])
8686

87-
self.assertEqual(result.exit_code, 2)
87+
self.assertEqual(result.exit_code, 2)
8888

8989
@mock.patch('SoftLayer.CLI.formatting.confirm')
9090
def test_power_off_hard_vs(self, confirm_mock):
@@ -117,14 +117,14 @@ def test_pause_vs(self, confirm_mock):
117117
self.assert_no_fail(result)
118118

119119
@mock.patch('SoftLayer.CLI.formatting.confirm')
120-
def test_pause_vs(self, confirm_mock):
120+
def test_pause_no_confirm_vs(self, confirm_mock):
121121
mock = self.set_mock('SoftLayer_Virtual_Guest', 'pause')
122122
mock.return_value = 'true'
123123
confirm_mock.return_value = False
124124

125125
result = self.run_command(['vs', 'pause', '100'])
126126

127-
self.assertEqual(result.exit_code, 2)
127+
self.assertEqual(result.exit_code, 2)
128128

129129
@mock.patch('SoftLayer.CLI.formatting.confirm')
130130
def test_resume_vs(self, confirm_mock):
@@ -134,7 +134,7 @@ def test_resume_vs(self, confirm_mock):
134134

135135
result = self.run_command(['vs', 'resume', '100'])
136136

137-
self.assert_no_fail(result)
137+
self.assert_no_fail(result)
138138

139139
def test_list_vs(self):
140140
result = self.run_command(['vs', 'list', '--tag=tag'])

0 commit comments

Comments
 (0)