Fix packages naming
Also rename root module name not to intersect with Climate project repository itself. Change-Id: I5adc897dfe15088190d2da72779d3f51a37c121b
This commit is contained in:
parent
23e047c832
commit
dfc8bdc0f4
|
@ -2,6 +2,6 @@
|
|||
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
|
||||
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
|
||||
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
|
||||
${PYTHON:-python} -m subunit.run discover climate $LISTOPT $IDOPTION
|
||||
${PYTHON:-python} -m subunit.run discover climatenova $LISTOPT $IDOPTION
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
||||
|
|
|
@ -29,7 +29,7 @@ class BaseTestCase(testtools.TestCase):
|
|||
super(BaseTestCase, self).setUp()
|
||||
self._set_timeout()
|
||||
self._fake_output()
|
||||
self.useFixture(fixtures.FakeLogger('climate.openstack.common'))
|
||||
self.useFixture(fixtures.FakeLogger('climatenova.openstack.common'))
|
||||
self.useFixture(fixtures.NestedTempfile())
|
||||
|
||||
def _set_timeout(self):
|
|
@ -13,7 +13,7 @@
|
|||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from climate.openstack.common import test
|
||||
from climatenova.openstack.common import test
|
||||
|
||||
|
||||
class TestCase(test.BaseTestCase):
|
|
@ -14,8 +14,8 @@
|
|||
|
||||
from nova.tests.scheduler import fakes
|
||||
|
||||
from climate.filters import host_reservation
|
||||
from climate import tests
|
||||
from climatenova.filters import host_reservation
|
||||
from climatenova import tests
|
||||
|
||||
|
||||
class ClimateSchedulerTestCase(tests.TestCase):
|
|
@ -1,5 +1,5 @@
|
|||
[metadata]
|
||||
name = climate
|
||||
name = climate-nova
|
||||
version = 2013.1
|
||||
summary = Reservation Service for OpenStack clouds
|
||||
description-file = README.md
|
||||
|
@ -24,4 +24,4 @@ setup-hooks = pbr.hooks.setup_hook
|
|||
|
||||
[files]
|
||||
packages =
|
||||
climate
|
||||
climatenova
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -19,7 +19,7 @@ commands =
|
|||
sitepackages = False
|
||||
|
||||
[testenv:cover]
|
||||
commands = nosetests --no-path-adjustment --with-coverage --cover-erase --cover-package=climate --cover-inclusive []
|
||||
commands = nosetests --no-path-adjustment --with-coverage --cover-erase --cover-package=climatenova --cover-inclusive []
|
||||
|
||||
[testenv:pep8]
|
||||
commands = flake8 {posargs}
|
||||
|
|
Loading…
Reference in New Issue