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

Free Ekanayaka freee at moszumanska.debian.org
Sun Jan 8 10:58:31 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 2d02bae565ae588f6b135c6b3d4697be49e54777
Author: Free Ekanayaka <freee at debian.org>
Date:   Sun Jan 8 09:26:08 2017 +0000

    New upstream version 0.2.5
---
 ChangeLog                        | 11 +++++++++++
 PKG-INFO                         |  2 +-
 setup.cfg                        |  2 +-
 tests/test_mongodb.py            |  2 +-
 tests/test_service.py            |  2 +-
 txfixtures.egg-info/PKG-INFO     |  2 +-
 txfixtures.egg-info/pbr.json     |  2 +-
 txfixtures/mongodb.py            |  1 +
 txfixtures/tests/test_mongodb.py |  3 ++-
 9 files changed, 20 insertions(+), 7 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5bbc0f3..c17fe40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,17 @@
 CHANGES
 =======
 
+0.2.5
+-----
+
+* Disable journaling in MongoDB
+* Use the default 15 seconds timeout in MongoDB tests
+
+0.2.4
+-----
+
+* Set minUptime correctly in ServiceIntegrationTest.test_non_executable_command
+
 0.2.3
 -----
 
diff --git a/PKG-INFO b/PKG-INFO
index cc73b8a..9977653 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: txfixtures
-Version: 0.2.3
+Version: 0.2.5
 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 f428471..9548f8b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -32,7 +32,7 @@ mongodb =
 universal = 1
 
 [egg_info]
-tag_svn_revision = 0
 tag_date = 0
+tag_svn_revision = 0
 tag_build = 
 
diff --git a/tests/test_mongodb.py b/tests/test_mongodb.py
index adb13e1..818fe6b 100644
--- a/tests/test_mongodb.py
+++ b/tests/test_mongodb.py
@@ -12,7 +12,7 @@ class MongoDBIntegrationTest(TestCase):
         super(MongoDBIntegrationTest, self).setUp()
         self.logger = self.useFixture(FakeLogger())
         self.useFixture(Reactor())
-        self.mongodb = MongoDB(timeout=5)
+        self.mongodb = MongoDB()
 
     def test_client(self):
         """
diff --git a/tests/test_service.py b/tests/test_service.py
index 141070b..6270c2a 100644
--- a/tests/test_service.py
+++ b/tests/test_service.py
@@ -61,7 +61,7 @@ class ServiceIntegrationTest(TestCase):
         with open(executable, "w") as fd:
             fd.write("")
         self.fixture.command = [executable.encode("utf-8")]
-        self.fixture.minUptime = 0.5
+        self.fixture.protocol.minUptime = 2.5
         error = self.assertRaises(MultipleExceptions, self.fixture.setUp)
         self.assertIsInstance(error.args[0][1], ProcessTerminated)
 
diff --git a/txfixtures.egg-info/PKG-INFO b/txfixtures.egg-info/PKG-INFO
index cc73b8a..9977653 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.3
+Version: 0.2.5
 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 105e076..7c7cad4 100644
--- a/txfixtures.egg-info/pbr.json
+++ b/txfixtures.egg-info/pbr.json
@@ -1 +1 @@
-{"is_release": true, "git_version": "56bde77"}
\ No newline at end of file
+{"git_version": "cc2b42b", "is_release": true}
\ No newline at end of file
diff --git a/txfixtures/mongodb.py b/txfixtures/mongodb.py
index 1e29d96..5bb4720 100644
--- a/txfixtures/mongodb.py
+++ b/txfixtures/mongodb.py
@@ -44,4 +44,5 @@ class MongoDB(Service):
         return self.command[:] + [
             b"--port=%d" % self.port,
             b"--dbpath=%s" % self._dbPath.path.encode("utf-8"),
+            b"--nojournal",
         ]
diff --git a/txfixtures/tests/test_mongodb.py b/txfixtures/tests/test_mongodb.py
index 101f672..95ab699 100644
--- a/txfixtures/tests/test_mongodb.py
+++ b/txfixtures/tests/test_mongodb.py
@@ -47,12 +47,13 @@ class MongoDBTest(TestCase):
         self.patch(pymongo, "MongoClient", FakeMongoClient)
 
         self.fixture.setUp()
-        executable, arg1, arg2 = self.reactor.process.args
+        executable, arg1, arg2, arg3 = self.reactor.process.args
         self.assertEqual(b"mongod", executable)
         self.assertEqual(b"--port=666", arg1)
         self.assertEqual(["mongodb://localhost:666"], client)
         self.assertThat(arg2, StartsWith(b"--dbpath="))
         self.assertThat(arg2.split(b"=")[1], DirExists())
+        self.assertEqual(b"--nojournal", arg3)
         self.assertIn(
             "waiting for connections on port 666",
             self.logger.output.split("\n"))

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