Skip to content

Commit 9062729

Browse files
committed
Fix test that doesn't work in Windows
1 parent 31e4849 commit 9062729

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

tests/CLI/modules/config_tests.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,12 @@ def test_setup(self, mocked_input, getpass, confirm_mock, client):
7575
self.assert_no_fail(result)
7676
self.assertIn('Configuration Updated Successfully', result.output)
7777
contents = config_file.read().decode("utf-8")
78-
print('***************************')
79-
print(contents)
80-
print('***************************')
78+
8179
self.assertIn('[softlayer]', contents)
8280
self.assertIn('username = user', contents)
8381
self.assertIn('api_key = AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA', contents)
8482
self.assertIn('endpoint_url = %s' % consts.API_PUBLIC_ENDPOINT, contents)
85-
self.assertIn('theme = failed', contents)
83+
self.assertIn('theme = dark', contents)
8684

8785
@mock.patch('SoftLayer.Client')
8886
@mock.patch('SoftLayer.CLI.formatting.confirm')

0 commit comments

Comments
 (0)