14
0
Commit Graph

18 Commits

Author SHA256 Message Date
8d5b3bc930 - Skip a test that has some fundamental disagreements with Django 3.2.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=35
2021-04-28 06:51:54 +00:00
36daf44bbf Accepting request 856939 from home:jayvdb:branches:devel:languages:python
- update to v6.17.0

OBS-URL: https://build.opensuse.org/request/show/856939
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=33
2020-12-19 20:54:31 +00:00
13017a3db7 Accepting request 851691 from home:ecsos:server
- update to 6.15.0:
  - Add support to :class:LogCapture for making sure log entries above a specified level have been checked.

OBS-URL: https://build.opensuse.org/request/show/851691
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=31
2020-11-30 16:14:59 +00:00
8fd69a846a - update to 6.14.2:
- Fix bug where ``ignore_eq`` had no effect on nested objects when using :func:`compare`
- remove python383.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=29
2020-09-16 21:32:00 +00:00
Tomáš Chvátal
d18f942f27 Accepting request 816624 from home:bnavigator:branches:devel:languages:python
- use local source dir for pytest imports (tests are not installed)
  gh#openSUSE/python-rpm-macros#48

OBS-URL: https://build.opensuse.org/request/show/816624
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=27
2020-06-23 16:47:41 +00:00
Tomáš Chvátal
20b5a82685 - Add patch to fix build with python 3.8.3:
* python383.patch
- Update to 6.14.1:
  * Fix bugs in comparison of :func:`~unittest.mock.call` objects where the :func:`repr` of the :func:`~unittest.mock.call` arguments were the same even when their attributes were not.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=25
2020-05-19 10:22:56 +00:00
Tomáš Chvátal
7c8c779822 - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=23
2020-03-12 08:05:40 +00:00
Tomáš Chvátal
3be1047f71 Accepting request 783805 from home:pgajdos:python
- version update to 6.14.0
  6.14.0 (24 Feb 2020)
  --------------------
  - Add support for non-deterministic logging order when using :meth:`twisted.LogCapture`.
  6.13.1 (20 Feb 2020)
  --------------------
  - Fix for using :func:`compare` to compare two-element :func:`~unittest.mock.call`
    objects.
  6.13.0 (18 Feb 2020)
  --------------------
  - Allow any attributes that need to be ignored to be specified directly when calling
    :func:`~testfixtures.comparison.compare_object`. This is handy when writing
    comparers for :func:`compare`.
  6.12.1 (16 Feb 2020)
  --------------------
  - Fix a bug that occured when using :func:`compare` to compare a string with a
    slotted object that had the same :func:`repr` as the string.
  6.12.0 (6 Feb 2020)
  -------------------
  - Add support for ``universal_newlines``, ``text``, ``encoding`` and ``errors`` to
    :class:`popen.MockPopen`, but only for Python 3.
  6.11.0 (29 Jan 2020)
  --------------------
  - :class:`decimal.Decimal` now has better representation when :func:`compare` displays a failed
    comparison, particularly on Python 2.
  - Add support to :func:`compare` for explicitly naming objects to be compared as ``x`` and ``y``.
    This allows symmetry with the ``x_label`` and ``y_label`` parameters that are now documented.
  - Restore ability for :class:`Comparison` to compare properties and methods, although these uses
    are not recommended.
  6.10.3 (22 Nov 2019)

OBS-URL: https://build.opensuse.org/request/show/783805
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=22
2020-03-11 12:48:53 +00:00
Tomáš Chvátal
fcff314366 - Update to 6.10.0:
* Better feedback where objects do not :func:`compare` equal but do have the same representation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=20
2019-07-22 12:43:39 +00:00
Tomáš Chvátal
1b2d006e22 Accepting request 710320 from home:pgajdos
- version update to 6.9.0
  - Fix deprecation warning relating to :func:`getargspec`.
  - Improve :doc:`mocking <mocking>` docs.
  - Add ``strip_whitespace`` option to :class:`OutputCapture`.
  - When ``separate`` is used with :class:`OutputCapture`, differences in ``stdout` and ``stderr``
    are now given in the same :class:`AssertionError`.
  - :class:`ShouldRaise` no longer catches exceptions that are not of the required type.
  - Fixed a problem that resulted in unhelpful :func:`compare` failures when
    :func:`~unittest.mock.call` was involved and Python 3.6.7 was used.

OBS-URL: https://build.opensuse.org/request/show/710320
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=18
2019-06-17 10:31:24 +00:00
Tomáš Chvátal
ba624ef788 Accepting request 704378 from home:pgajdos
- version update to 6.8.2
  * Fix handling of the latest releases of the :mod:`mock` backport.
  * Fix bogus import in :class:`OutputCapture`.
  * Allow :class:`OutputCapture` to capture the underlying file descriptors for
    :attr:`sys.stdout` and :attr:`sys.stderr`.
  * Silence :class:`DeprecationWarning` relating to ``collections.abc`` on
    Python 3.7.

OBS-URL: https://build.opensuse.org/request/show/704378
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=16
2019-05-21 08:26:53 +00:00
Tomáš Chvátal
7eed7fb1bb Accepting request 695796 from home:mcalabkova:branches:devel:languages:python
- update to version 6.7.0
  * Add :meth:`twisted.LogCapture.raise_logged_failure` debugging 
    helper.

OBS-URL: https://build.opensuse.org/request/show/695796
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=14
2019-04-21 11:18:26 +00:00
Tomáš Chvátal
137f632484 Accepting request 688908 from home:jayvdb:coala:test-rig
- Add docs/*.txt to %docs
- Remove tests from the runtime package
- Update to v6.6.2

OBS-URL: https://build.opensuse.org/request/show/688908
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=12
2019-03-28 08:41:18 +00:00
Tomáš Chvátal
365428657f Accepting request 674717 from home:jayvdb:coala:test-rig
- Update to version 6.5.0
  See changes.rst for list of changes since version 5.3.1
- Remove many unnecessary build dependencies
- Activate tests
- Add Suggests for Django, Twisted, sybil and zope.component

OBS-URL: https://build.opensuse.org/request/show/674717
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=10
2019-02-14 08:31:46 +00:00
Todd R
7acf84c0ba Accepting request 671947 from home:jayvdb:coala
- Remove unnecessary build dependencies

OBS-URL: https://build.opensuse.org/request/show/671947
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=8
2019-02-05 18:16:45 +00:00
83c1dfe6f5 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=5
2018-12-04 14:09:00 +00:00
Tomáš Chvátal
d2629e641c Accepting request 561825 from home:alarrosa:branches:devel:languages:python
- Update to version 5.3.1
  * Fix missing support for the start_new_session parameter to
    ~testfixtures.popen.MockPopen.

- Update to version 5.3.0 
  * Add pytest traceback hiding for TempDirectory.compare.
  * Add warnings that log_capture, tempdir and replace are not
    currently compatible with pytest's fixtures mechanism.
  * Better support for stdout or stderr *not* being set to PIPE
    when using testfixtures.popen.MockPopen.
  * Add support to testfixtures.popen.MockPopen for
    using subprocess.Popen as a context manager in Python 3.
  * Add support to testfixtures.popen.MockPopen for stderr=STDOUT.
  * Work done on  testfixtures.popen.MockPopen.

OBS-URL: https://build.opensuse.org/request/show/561825
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=3
2018-01-05 10:23:12 +00:00
Jan Matejek
9fa4bd66c0 Accepting request 533483 from home:Simmphonie:python
- Initial release version 5.2.0

OBS-URL: https://build.opensuse.org/request/show/533483
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=1
2017-10-12 13:48:30 +00:00