Skip to content

Commit 79886b2

Browse files
author
Kevin McDonald
committed
Moves the tests outside of the main package
1 parent 83869f6 commit 79886b2

44 files changed

Lines changed: 6 additions & 4 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
long_description=LONG_DESCRIPTION,
2121
author='SoftLayer Technologies, Inc.',
2222
author_email='[email protected]',
23-
packages=find_packages(exclude=["SoftLayer.tests"]),
23+
packages=find_packages(exclude=['tests']),
2424
license='MIT',
2525
zip_safe=False,
2626
url='http://github.com/softlayer/softlayer-python',
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ def test_get_command_invalid(self):
3333
self.assertEqual(cmd, None)
3434

3535
def test_get_command(self):
36-
mod_path = 'SoftLayer.tests.CLI.environment_tests'
37-
fixture_loader = environment.ModuleLoader(mod_path, 'fixture_command')
36+
fixture_loader = environment.ModuleLoader(
37+
'tests.CLI.environment_tests',
38+
'fixture_command',
39+
)
3840
self.env.commands = {'fixture:run': fixture_loader}
3941
command = self.env.get_command('fixture', 'run')
4042
self.assertIsInstance(command, click.Command)
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)