Skip to content

Commit 7d09bf3

Browse files
J JayasilanJ Jayasilan
authored andcommitted
service name and package name fixes in fixture and tests module's file
1 parent 91297a3 commit 7d09bf3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SoftLayer/transports/fixture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def __call__(self, call):
1818
module_path = 'SoftLayer.fixtures.%s' % call.service
1919
module = importlib.import_module(module_path)
2020
except ImportError as ex:
21-
message = f'{call.servic} fixture is not implemented'
21+
message = f'{call.service} fixture is not implemented'
2222
raise NotImplementedError(message) from ex
2323
try:
2424
return getattr(module, call.method)

tests/managers/ordering_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def test_get_preset_by_key_preset_not_found(self):
300300
self.ordering.get_preset_by_key, 'PACKAGE_KEYNAME', keyname)
301301

302302
list_mock.assert_called_once_with('PACKAGE_KEYNAME', filter=preset_filter, mask=None)
303-
self.assertEqual(f"Preset {keyname} does not exist in package 'PACKAGE_KEYNAME'", str(exc))
303+
self.assertEqual(f"Preset {keyname} does not exist in package PACKAGE_KEYNAME", str(exc))
304304

305305
def test_get_price_id_list(self):
306306
category1 = {'categoryCode': 'cat1'}

0 commit comments

Comments
 (0)