tests/ -> unit_tests/
This commit is contained in:
parent
9446e951af
commit
a6508d24e6
4
Makefile
4
Makefile
@ -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
|
||||||
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
Loading…
Reference in New Issue
Block a user