[Python-modules-commits] [txfixtures] 01/03: New upstream version 0.2.6

Free Ekanayaka freee at moszumanska.debian.org
Wed Jan 18 09:11:09 UTC 2017


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

freee pushed a commit to branch master
in repository txfixtures.

commit 42f4de37d420695089ffffc37681dfa27f80217a
Author: Free Ekanayaka <freee at debian.org>
Date:   Wed Jan 18 09:07:36 2017 +0000

    New upstream version 0.2.6
---
 ChangeLog                    | 5 +++++
 PKG-INFO                     | 2 +-
 setup.cfg                    | 2 +-
 tests/test_service.py        | 8 +++++++-
 txfixtures.egg-info/PKG-INFO | 2 +-
 txfixtures.egg-info/pbr.json | 2 +-
 6 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index c17fe40..7b8858f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
 CHANGES
 =======
 
+0.2.6
+-----
+
+* Fix test_no_expected_port_timeout failing if port 9999 is used
+
 0.2.5
 -----
 
diff --git a/PKG-INFO b/PKG-INFO
index 9977653..f7249c2 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: txfixtures
-Version: 0.2.5
+Version: 0.2.6
 Summary: Treat Twisted applications as Python test fixtures
 Home-page: https://launchpad.net/txfixtures
 Author: Martin Pool
diff --git a/setup.cfg b/setup.cfg
index 9548f8b..ddf50f7 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -32,7 +32,7 @@ mongodb =
 universal = 1
 
 [egg_info]
-tag_date = 0
 tag_svn_revision = 0
 tag_build = 
+tag_date = 0
 
diff --git a/tests/test_service.py b/tests/test_service.py
index 6270c2a..ea0d78b 100644
--- a/tests/test_service.py
+++ b/tests/test_service.py
@@ -211,7 +211,13 @@ class ServiceProtocolIntegrationTest(TestCase):
         deferred doesn't fire.
         """
         self.script.sleep(1)
-        self.protocol.expectedPort = 9999
+
+        # Find an unused port
+        sock = socket.socket()
+        sock.bind(("localhost", 0))
+        self.addCleanup(sock.close)
+        _, self.protocol.expectedPort = sock.getsockname()
+
         self.protocol.ready.addTimeout(0.2, reactor)
         self.process = reactor.spawnProcess(self.protocol, self.script.path)
         try:
diff --git a/txfixtures.egg-info/PKG-INFO b/txfixtures.egg-info/PKG-INFO
index 9977653..f7249c2 100644
--- a/txfixtures.egg-info/PKG-INFO
+++ b/txfixtures.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: txfixtures
-Version: 0.2.5
+Version: 0.2.6
 Summary: Treat Twisted applications as Python test fixtures
 Home-page: https://launchpad.net/txfixtures
 Author: Martin Pool
diff --git a/txfixtures.egg-info/pbr.json b/txfixtures.egg-info/pbr.json
index 7c7cad4..fe49564 100644
--- a/txfixtures.egg-info/pbr.json
+++ b/txfixtures.egg-info/pbr.json
@@ -1 +1 @@
-{"git_version": "cc2b42b", "is_release": true}
\ No newline at end of file
+{"is_release": true, "git_version": "b0215e4"}
\ No newline at end of file

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