tests/ -> unit_tests/

This commit is contained in:
Adam Gandelman 2013-08-01 16:23:29 -07:00
parent 9446e951af
commit a6508d24e6
6 changed files with 5 additions and 5 deletions

View File

@ -3,12 +3,12 @@ PYTHON := /usr/bin/env python
lint: lint:
@flake8 --exclude hooks/charmhelpers hooks @flake8 --exclude hooks/charmhelpers hooks
@flake8 --exclude hooks/charmhelpers tests @flake8 --exclude hooks/charmhelpers unit_tests
@charm proof @charm proof
test: test:
@echo Starting tests... @echo Starting tests...
@$(PYTHON) /usr/bin/nosetests --nologcapture --with-coverage tests @$(PYTHON) /usr/bin/nosetests --nologcapture --with-coverage unit_tests
sync: sync:
@charm-helper-sync -c charm-helpers-sync.yaml @charm-helper-sync -c charm-helpers-sync.yaml

View File

@ -1,6 +1,6 @@
from mock import MagicMock from mock import MagicMock
from copy import deepcopy from copy import deepcopy
from tests.test_utils import CharmTestCase from unit_tests.test_utils import CharmTestCase
import hooks.nova_compute_context as context import hooks.nova_compute_context as context

View File

@ -1,6 +1,6 @@
from mock import call, patch, MagicMock from mock import call, patch, MagicMock
from tests.test_utils import CharmTestCase from unit_tests.test_utils import CharmTestCase
import hooks.nova_compute_utils as utils import hooks.nova_compute_utils as utils

View File

@ -1,6 +1,6 @@
from mock import patch, MagicMock, call from mock import patch, MagicMock, call
from tests.test_utils import CharmTestCase, patch_open from unit_tests.test_utils import CharmTestCase, patch_open
import hooks.nova_compute_utils as utils import hooks.nova_compute_utils as utils