File: PKG-INFO

package info (click to toggle)
pytest-tempdir 2019.10.12-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 108 kB
  • sloc: python: 213; makefile: 4
file content (171 lines) | stat: -rw-r--r-- 5,509 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
Metadata-Version: 1.2
Name: pytest-tempdir
Version: 2019.10.12
Summary: Predictable and repeatable tempdir support.
Home-page: https://github.com/saltstack/pytest-tempdir
Author: Pedro Algarvio
Author-email: pedro@algarvio.me
Maintainer: Pedro Algarvio
Maintainer-email: pedro@algarvio.me
License: Apache Software License 2.0
Description: pytest-tempdir
        ==============
        
        .. image:: https://travis-ci.org/saltstack/pytest-tempdir.svg?branch=master
            :target: https://travis-ci.org/saltstack/pytest-tempdir
            :alt: See Build Status on Travis CI
        
        .. image:: https://ci.appveyor.com/api/projects/status/github/saltstack/pytest-tempdir?branch=master
            :target: https://ci.appveyor.com/project/saltstack-public/pytest-tempdir/branch/master
            :alt: See Build Status on AppVeyor
        
        .. image:: http://img.shields.io/pypi/v/pytest-tempdir.svg
           :target: https://pypi.python.org/pypi/pytest-tempdir
        
        Adds support for a predictable and repeatable temporary directory.
        
        ----
        
        This `Pytest`_ plugin was generated with `Cookiecutter`_ along with `@hackebrot`_'s `Cookiecutter-pytest-plugin`_ template.
        
        
        Features
        --------
        
        * Adds support for a predictable and repeatable temporary directory through the
          `tempdir` fixture which gets cleaned up in the end of the test run
          session(this behaviour can be disabled).
        
        
        Requirements
        ------------
        
        * None!
        
        
        Installation
        ------------
        
        You can install "pytest-tempdir" via `pip`_ from `PyPI`_::
        
            $ pip install pytest-tempdir
        
        
        Usage
        -----
        
        * Simply define a ``pytest_tempdir_basename`` function on your ``conftest.py``
          which returns a string to define the basename or pass ``--tempdir-basename``.
        * If you wish to leave the temporary directory intact for further inspection
          after the tests suite ends, pass ``--tempdir-no-clean``.
        
        
        Contributing
        ------------
        Contributions are very welcome. Tests can be run with `tox`_, please ensure
        the coverage at least stays the same before you submit a pull request.
        
        License
        -------
        
        Distributed under the terms of the `Apache 2.0`_ license, "pytest-tempdir" is free and open source software
        
        
        Issues
        ------
        
        If you encounter any problems, please `file an issue`_ along with a detailed description.
        
        Changelog
        ---------
        
        v2019.9.16
        ----------
        
        * Fix hookspec definition
        
        v2019.9.15
        ----------
        
        * Backwards compatible
        
        v2019.9.14
        ----------
        
        * Take into account long paths on darwin for the tempdir root
        
        v2019.7.18
        ----------
        
        * Lower log level
        
        v2018.8.11
        ~~~~~~~~~~
        
        * Lower log call logging level
        
        v2016.8.20
        ~~~~~~~~~~
        
        * Support pytest 2.x and 3.x
        
        v2015.12.6
        ~~~~~~~~~~
        
        * Each absolute path gets it's own counter
        
        v2015.11.29
        ~~~~~~~~~~~
        
        * Append a counter value to existing directory names
        
        v2015.11.17
        ~~~~~~~~~~~
        
        * Fix more encoding issues when running setup and the system locale is not set
        
        v2015.11.16
        ~~~~~~~~~~~
        
        * Fix encoding issue when running setup and the system locale is not set
        
        v2015.11.8
        ~~~~~~~~~~
        
        * Fix stale tempdir cleanup logic
        
        v2015.11.6
        ~~~~~~~~~~
        
        * Wipe the tempdir directory on test session start if it exists
        
        v2015.11.4
        ~~~~~~~~~~
        
        * First working release
        
        .. _`Cookiecutter`: https://github.com/audreyr/cookiecutter
        .. _`@hackebrot`: https://github.com/hackebrot
        .. _`cookiecutter-pytest-plugin`: https://github.com/pytest-dev/cookiecutter-pytest-plugin
        .. _`file an issue`: https://github.com/saltstack/pytest-tempdir/issues
        .. _`pytest`: https://github.com/pytest-dev/pytest
        .. _`tox`: https://tox.readthedocs.org/en/latest/
        .. _`pip`: https://pypi.python.org/pypi/pip/
        .. _`PyPI`: https://pypi.python.org/pypi
        .. _`Apache 2.0`: http://www.apache.org/licenses/LICENSE-2.0
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: Apache Software License