Move commands into cmds subdir.
This is a useful hint to readers about whether a module is library or UI. Change-Id: I177449fc6820e82fed938f2c216b6b9f9192957f
This commit is contained in:
parent
50eee6fc57
commit
3aa37f7ea4
0
openstack_requirements/cmds/__init__.py
Normal file
0
openstack_requirements/cmds/__init__.py
Normal file
@ -15,9 +15,9 @@ import shutil
|
||||
|
||||
import fixtures
|
||||
|
||||
from openstack_requirements.cmds import update
|
||||
from openstack_requirements import project
|
||||
from openstack_requirements import requirement
|
||||
from openstack_requirements import update
|
||||
|
||||
|
||||
def _file_to_list(fname):
|
||||
|
@ -16,7 +16,7 @@ import fixtures
|
||||
import testtools
|
||||
from testtools import matchers
|
||||
|
||||
from openstack_requirements import generate
|
||||
from openstack_requirements.cmds import generate
|
||||
|
||||
|
||||
class TestFreeze(testtools.TestCase):
|
||||
|
@ -23,10 +23,10 @@ import testscenarios
|
||||
import testtools
|
||||
from testtools import matchers
|
||||
|
||||
from openstack_requirements.cmds import update
|
||||
from openstack_requirements import project
|
||||
from openstack_requirements import requirement
|
||||
from openstack_requirements.tests import common
|
||||
from openstack_requirements import update
|
||||
|
||||
|
||||
load_tests = testscenarios.load_tests_apply_scenarios
|
||||
|
@ -20,9 +20,9 @@ from __future__ import print_function
|
||||
|
||||
import testtools
|
||||
|
||||
from openstack_requirements.cmds import update
|
||||
from openstack_requirements import project
|
||||
from openstack_requirements.tests import common
|
||||
from openstack_requirements import update
|
||||
|
||||
|
||||
class UpdateTestPbr(testtools.TestCase):
|
||||
|
@ -16,9 +16,9 @@ from __future__ import print_function
|
||||
|
||||
import testtools
|
||||
|
||||
from openstack_requirements.cmds import update
|
||||
from openstack_requirements import project
|
||||
from openstack_requirements.tests import common
|
||||
from openstack_requirements import update
|
||||
|
||||
|
||||
class UpdateTestWithSuffix(testtools.TestCase):
|
||||
|
@ -23,5 +23,5 @@ packages =
|
||||
|
||||
[entry_points]
|
||||
console_scripts =
|
||||
generate-constraints = openstack_requirements.generate:main
|
||||
update-requirements = openstack_requirements.update:main
|
||||
generate-constraints = openstack_requirements.cmds.generate:main
|
||||
update-requirements = openstack_requirements.cmds.update:main
|
||||
|
Loading…
x
Reference in New Issue
Block a user