Use nosetests and absolute imports

This commit is contained in:
Dimitri John Ledkov 2014-07-23 17:07:12 +01:00
parent d10d1201bd
commit c796cc7058
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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