Use nosetests and absolute imports
This commit is contained in:
parent
d10d1201bd
commit
c796cc7058
|
@ -2,7 +2,7 @@
|
|||
|
||||
INIT_SYSTEM ?= upstart,systemd
|
||||
export PYBUILD_INSTALL_ARGS=--init-system=$(INIT_SYSTEM)
|
||||
export PYBUILD_TEST_ARGS=--test-nose
|
||||
export PYBUILD_TEST_NOSE=1
|
||||
|
||||
%:
|
||||
dh $@ --with python2,systemd --buildsystem pybuild
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import os
|
||||
|
||||
from tests.unittests import helpers as test_helpers
|
||||
from . import helpers as test_helpers
|
||||
|
||||
from cloudinit import handlers
|
||||
from cloudinit import helpers
|
||||
|
|
Loading…
Reference in New Issue