diff --git a/.travis.yml b/.travis.yml index 65082c46d..12c89fa80 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,4 +26,4 @@ install: script: - mkdir -p /home/travis/.gramps/grampsdb/ - - DJANGO_SETTINGS_MODULE=gramps.webapp.settings nosetests3 --exclude=TestcaseGenerator --exclude=exportvcard_test --exclude=vcard --exclude=merge_ref_test --exclude=test_util_test --exclude=test2_exec_CLI --exclude=test3_files_in_import_dir --exclude=test_manual_run gramps + - DJANGO_SETTINGS_MODULE=gramps.webapp.settings nosetests3 --exclude=TestcaseGenerator --exclude=exportvcard_test --exclude=vcard --exclude=merge_ref_test --exclude=test2_exec_CLI --exclude=test3_files_in_import_dir --exclude=test_manual_run gramps diff --git a/gramps/test/test/test_util_test.py b/gramps/test/test/test_util_test.py index 969336d46..0005a28cb 100644 --- a/gramps/test/test/test_util_test.py +++ b/gramps/test/test/test_util_test.py @@ -53,10 +53,10 @@ usage_note=""" # ************************************************************** try: - from test import test_util as tu + from gramps.test import test_util as tu ##here = tu.absdir() except ImportError: - print("Cannot import 'test_util'from package 'test'" + usage_note) + print("Cannot import 'test_util' from package 'test'" + usage_note) exit(1) @@ -202,9 +202,9 @@ class Test4(U.TestCase): logging.error(emsg) ll = tl.logfile_getlines() nl = len(ll) - self.assertEquals(nl,2, - tu.msg(nl,2, "pass %d: expected line count" % i)) - del tl + self.assertEquals(nl,3, + tu.msg(nl,3, "pass %d: expected line count" % i)) + #del tl if __name__ == "__main__":