[Python-modules-commits] [systemfixtures] 03/04: New upstream version 0.4.3

Free Ekanayaka freee at moszumanska.debian.org
Mon Oct 31 13:59:33 UTC 2016


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

freee pushed a commit to branch master
in repository systemfixtures.

commit 177dbd362f67c0b5d926a76e3436c7a7eed4c1b4
Author: Free Ekanayaka <freee at debian.org>
Date:   Mon Oct 31 13:45:59 2016 +0000

    New upstream version 0.4.3
---
 ChangeLog                               | 11 +++++++++++
 PKG-INFO                                | 30 ++++++++++++++++++++++--------
 README.rst                              | 28 +++++++++++++++++++++-------
 docs/index.rst                          |  2 +-
 setup.cfg                               |  2 +-
 systemfixtures.egg-info/PKG-INFO        | 30 ++++++++++++++++++++++--------
 systemfixtures.egg-info/pbr.json        |  2 +-
 systemfixtures/tests/test_filesystem.py |  4 +++-
 8 files changed, 82 insertions(+), 27 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7f570a6..168e502 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,17 @@
 CHANGES
 =======
 
+0.4.3
+-----
+
+* Add documentation about filing issues
+
+0.4.2
+-----
+
+* Add a section in the README pointing to the GitHub project
+* Fix unit tests failures when running as root
+
 0.4.1
 -----
 
diff --git a/PKG-INFO b/PKG-INFO
index 40b4aeb..e1059c4 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,14 +1,13 @@
 Metadata-Version: 1.1
 Name: systemfixtures
-Version: 0.4.1
+Version: 0.4.3
 Summary: Test fixtures for providing fake versions of various system resources (processes, users, groups, etc.)
 Home-page: https://github.com/freeekanayaka/systemfixtures
 Author: Free Ekanayaka
 Author-email: free at ekanayaka.io
 License: MIT
-Description: =====================================================
-        Test fixtures for faking out various system resources
-        =====================================================
+Description: System fixtures
+        ===============
         
         .. image:: https://img.shields.io/pypi/v/systemfixtures.svg
             :target: https://pypi.python.org/pypi/systemfixtures
@@ -22,11 +21,14 @@ Description: =====================================================
             :target: https://coveralls.io/github/freeekanayaka/charm-test?branch=master
             :alt: Coverage
         
-        Example
-        -------
+        A collection of Python fixtures_ to fake out  various system resources (processes,
+        users, groups, etc.).
         
-        Please see the `full documentation <http://pythonhosted.org/systemfixtures/>`_ for
-        more information.
+        .. _fixtures: https://github.com/testing-cabal/fixtures
+        
+        Each fake resource typically behaves as an "overlay" on the real resource, in
+        that it can be programmed with fake behavior for a set of inputs, but falls
+        back to the real behavior for the rest.
         
         .. code:: python
         
@@ -48,6 +50,18 @@ Description: =====================================================
            123
            >>> users.cleanUp()
         
+        Support and Documentation
+        -------------------------
+        
+        See the `online documentation <http://pythonhosted.org/systemfixtures/>`_ for
+        a complete reference.
+        
+        Developing and Contributing
+        ---------------------------
+        
+        See the `GitHub project <https://github.com/freeekanayaka/systemfixtures>`_. Bugs
+        can be filed in the issues tracker.
+        
         
 Platform: POSIX
 Classifier: License :: OSI Approved :: MIT License
diff --git a/README.rst b/README.rst
index 3932a40..474004d 100644
--- a/README.rst
+++ b/README.rst
@@ -1,6 +1,5 @@
-=====================================================
-Test fixtures for faking out various system resources
-=====================================================
+System fixtures
+===============
 
 .. image:: https://img.shields.io/pypi/v/systemfixtures.svg
     :target: https://pypi.python.org/pypi/systemfixtures
@@ -14,11 +13,14 @@ Test fixtures for faking out various system resources
     :target: https://coveralls.io/github/freeekanayaka/charm-test?branch=master
     :alt: Coverage
 
-Example
--------
+A collection of Python fixtures_ to fake out  various system resources (processes,
+users, groups, etc.).
 
-Please see the `full documentation <http://pythonhosted.org/systemfixtures/>`_ for
-more information.
+.. _fixtures: https://github.com/testing-cabal/fixtures
+
+Each fake resource typically behaves as an "overlay" on the real resource, in
+that it can be programmed with fake behavior for a set of inputs, but falls
+back to the real behavior for the rest.
 
 .. code:: python
 
@@ -39,3 +41,15 @@ more information.
    >>> info.pw_uid
    123
    >>> users.cleanUp()
+
+Support and Documentation
+-------------------------
+
+See the `online documentation <http://pythonhosted.org/systemfixtures/>`_ for
+a complete reference.
+
+Developing and Contributing
+---------------------------
+
+See the `GitHub project <https://github.com/freeekanayaka/systemfixtures>`_. Bugs
+can be filed in the issues tracker.
diff --git a/docs/index.rst b/docs/index.rst
index 83ff788..f9e03c0 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -19,7 +19,7 @@ that it can be programmed with fake behavior for a set of inputs, but falls
 back to the real behavior for the rest. See the examples below for more
 information.
 
-The implementation is mostly built upon the basic MonkeyPatch_ fixture.
+The implementation is mostly built on top of the basic MonkeyPatch_ fixture.
 
 .. _MonkeyPatch: https://github.com/testing-cabal/fixtures/blob/master/fixtures/_fixtures/monkeypatch.py
 
diff --git a/setup.cfg b/setup.cfg
index 4a9b221..393a25f 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -33,7 +33,7 @@ all_files = 1
 upload-dir = docs/_build/html
 
 [egg_info]
-tag_svn_revision = 0
 tag_build = 
 tag_date = 0
+tag_svn_revision = 0
 
diff --git a/systemfixtures.egg-info/PKG-INFO b/systemfixtures.egg-info/PKG-INFO
index 40b4aeb..e1059c4 100644
--- a/systemfixtures.egg-info/PKG-INFO
+++ b/systemfixtures.egg-info/PKG-INFO
@@ -1,14 +1,13 @@
 Metadata-Version: 1.1
 Name: systemfixtures
-Version: 0.4.1
+Version: 0.4.3
 Summary: Test fixtures for providing fake versions of various system resources (processes, users, groups, etc.)
 Home-page: https://github.com/freeekanayaka/systemfixtures
 Author: Free Ekanayaka
 Author-email: free at ekanayaka.io
 License: MIT
-Description: =====================================================
-        Test fixtures for faking out various system resources
-        =====================================================
+Description: System fixtures
+        ===============
         
         .. image:: https://img.shields.io/pypi/v/systemfixtures.svg
             :target: https://pypi.python.org/pypi/systemfixtures
@@ -22,11 +21,14 @@ Description: =====================================================
             :target: https://coveralls.io/github/freeekanayaka/charm-test?branch=master
             :alt: Coverage
         
-        Example
-        -------
+        A collection of Python fixtures_ to fake out  various system resources (processes,
+        users, groups, etc.).
         
-        Please see the `full documentation <http://pythonhosted.org/systemfixtures/>`_ for
-        more information.
+        .. _fixtures: https://github.com/testing-cabal/fixtures
+        
+        Each fake resource typically behaves as an "overlay" on the real resource, in
+        that it can be programmed with fake behavior for a set of inputs, but falls
+        back to the real behavior for the rest.
         
         .. code:: python
         
@@ -48,6 +50,18 @@ Description: =====================================================
            123
            >>> users.cleanUp()
         
+        Support and Documentation
+        -------------------------
+        
+        See the `online documentation <http://pythonhosted.org/systemfixtures/>`_ for
+        a complete reference.
+        
+        Developing and Contributing
+        ---------------------------
+        
+        See the `GitHub project <https://github.com/freeekanayaka/systemfixtures>`_. Bugs
+        can be filed in the issues tracker.
+        
         
 Platform: POSIX
 Classifier: License :: OSI Approved :: MIT License
diff --git a/systemfixtures.egg-info/pbr.json b/systemfixtures.egg-info/pbr.json
index 7310793..d9d5864 100644
--- a/systemfixtures.egg-info/pbr.json
+++ b/systemfixtures.egg-info/pbr.json
@@ -1 +1 @@
-{"git_version": "c244d2f", "is_release": true}
\ No newline at end of file
+{"git_version": "a0fa8c4", "is_release": true}
\ No newline at end of file
diff --git a/systemfixtures/tests/test_filesystem.py b/systemfixtures/tests/test_filesystem.py
index 5dd154f..3d704a8 100644
--- a/systemfixtures/tests/test_filesystem.py
+++ b/systemfixtures/tests/test_filesystem.py
@@ -2,7 +2,7 @@ import os
 import six
 import shutil
 
-from testtools import TestCase
+from testtools import TestCase, skipIf
 from testtools.matchers import (
     DirExists,
     HasPermissions,
@@ -45,6 +45,7 @@ class FakeFilesystemTest(TestCase):
             os.fchown(fd.fileno(), 123, 456)
         self.assertThat("/foo/bar", HasOwnership(123, 456))
 
+    @skipIf(os.getuid() == 0, "Can't run as root")
     def test_fchown_real(self):
         temp_dir = self.useFixture(TempDir())
         path = temp_dir.join("foo")
@@ -58,6 +59,7 @@ class FakeFilesystemTest(TestCase):
         os.chown("/foo/bar", 123, 456)
         self.assertThat("/foo/bar", HasOwnership(123, 456))
 
+    @skipIf(os.getuid() == 0, "Can't run as root")
     def test_chown_real(self):
         temp_dir = self.useFixture(TempDir())
         path = temp_dir.join("foo")

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



More information about the Python-modules-commits mailing list