File: tox.ini.patch

package info (click to toggle)
python-prettylog 0.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 100 kB
  • sloc: python: 230; makefile: 7
file content (25 lines) | stat: -rw-r--r-- 554 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
Description: Adapt tox testing system for Debian.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: not-needed
--- a/pytest.ini
+++ /dev/null
@@ -1,6 +0,0 @@
-[pytest]
-addopts = --cov prettylog
-  	      --cov-report=term-missing
-  	      --doctest-modules
-  	      --pylama src
-          --pylama tests
\ No newline at end of file
--- a/tox.ini
+++ b/tox.ini
@@ -4,6 +4,8 @@
 [testenv]
 extras =
   	develop
+install_command = python -m pip install {opts} --no-deps {packages}
+passenv = PYTHONPATH
 
 commands =
-	pytest tests
+	pytest-3 tests