[Python-modules-commits] [txfixtures] 03/05: fix-tests-depending-on-newer-testtools

Free Ekanayaka freee at moszumanska.debian.org
Thu Feb 2 09:42:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

freee pushed a commit to branch patch-queue/master
in repository txfixtures.

commit 1130c95aca2b3b9863447d94a20193611884bab2
Author: Free Ekanayaka <freee at debian.org>
Date:   Thu Jan 5 10:22:07 2017 +0000

    fix-tests-depending-on-newer-testtools
    
    Fix the tests that depend on testtools.twistedsupport from newer
    testtools releases.
    
    Gbp-Pq: Name 0002-fix-tests-depending-on-newer-testtools.patch
---
 tests/test_service.py            | 2 +-
 txfixtures/tests/test_service.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_service.py b/tests/test_service.py
index 7780790..385b97d 100644
--- a/tests/test_service.py
+++ b/tests/test_service.py
@@ -3,7 +3,7 @@ import signal
 import socket
 
 from testtools import TestCase
-from testtools.twistedsupport import AsynchronousDeferredRunTest
+from testtools.deferredruntest import AsynchronousDeferredRunTest
 
 from fixtures import (
     FakeLogger,
diff --git a/txfixtures/tests/test_service.py b/txfixtures/tests/test_service.py
index 919fd78..0b33b67 100644
--- a/txfixtures/tests/test_service.py
+++ b/txfixtures/tests/test_service.py
@@ -10,7 +10,7 @@ from testtools.matchers import (
     IsInstance,
     MatchesStructure,
 )
-from testtools.twistedsupport import (
+from txfixtures._testtools import (
     succeeded,
     failed,
     has_no_result,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/txfixtures.git



More information about the Python-modules-commits mailing list