Browse Source

Remove unused test setup

This repository does not run any tests, it only contains documentation.
Remove unused content.

Note that the removed constraint setup is a setup that is not supported
since several months, we changed how this is done.

Change-Id: I9a77957b323ec999cdc5b0fc57dd68da3b49d569
Andreas Jaeger 2 years ago
parent
commit
c07f005940
3 changed files with 4 additions and 59 deletions
  1. 0
    7
      .testr.conf
  2. 0
    7
      test-requirements.txt
  3. 4
    45
      tox.ini

+ 0
- 7
.testr.conf View File

@@ -1,7 +0,0 @@
1
-[DEFAULT]
2
-test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
3
-             OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
4
-             OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
5
-             ${PYTHON:-python} -m subunit.run discover -t ./ . $LISTOPT $IDOPTION
6
-test_id_option=--load-list $IDFILE
7
-test_list_option=--list

+ 0
- 7
test-requirements.txt View File

@@ -2,12 +2,5 @@
2 2
 # of appearance. Changing the order has an impact on the overall integration
3 3
 # process, which may cause wedges in the gate later.
4 4
 
5
-hacking<0.11,>=0.10.0
6
-
7
-python-subunit>=0.0.18
8 5
 sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
9 6
 oslosphinx>=2.5.0 # Apache-2.0
10
-oslotest>=1.10.0 # Apache-2.0
11
-testrepository>=0.0.18
12
-testscenarios>=0.4
13
-testtools>=1.4.0

+ 4
- 45
tox.ini View File

@@ -1,60 +1,19 @@
1 1
 [tox]
2 2
 minversion = 1.8
3
-envlist = py34-constraints,py27-constraints,pypy-constraints,pep8-constraints
3
+envlist = py34,py27
4 4
 skipsdist = True
5 5
 
6 6
 [testenv]
7 7
 usedevelop = True
8
-install_command =
9
-                  constraints: {[testenv:common-constraints]install_command}
10
-                  pip install -U {opts} {packages}
8
+install_command = pip install -U {opts} {packages}
11 9
 setenv =
12 10
    VIRTUAL_ENV={envdir}
13 11
 deps = -r{toxinidir}/test-requirements.txt
14
-commands = python setup.py test --slowest --testr-args='{posargs}'
15
-
16
-[testenv:common-constraints]
17
-install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
18
-
19
-[testenv:pep8]
20
-commands = flake8 {posargs}
21
-
22
-[testenv:pep8-constraints]
23
-install_command = {[testenv:common-constraints]install_command}
24
-commands = flake8 {posargs}
12
+commands = true
25 13
 
26 14
 [testenv:venv]
15
+install_command = pip install -U {opts} {packages}
27 16
 commands = {posargs}
28 17
 
29
-[testenv:venv-constraints]
30
-install_command = {[testenv:common-constraints]install_command}
31
-commands = {posargs}
32
-
33
-[testenv:cover]
34
-commands = python setup.py test --coverage --testr-args='{posargs}'
35
-
36
-[testenv:cover-constraints]
37
-install_command = {[testenv:common-constraints]install_command}
38
-commands = python setup.py test --coverage --testr-args='{posargs}'
39
-
40 18
 [testenv:docs]
41 19
 commands = python setup.py build_sphinx
42
-
43
-[testenv:docs-constraints]
44
-install_command = {[testenv:common-constraints]install_command}
45
-commands = python setup.py build_sphinx
46
-
47
-[testenv:debug]
48
-commands = oslo_debug_helper {posargs}
49
-
50
-[testenv:debug-constraints]
51
-install_command = {[testenv:common-constraints]install_command}
52
-commands = oslo_debug_helper {posargs}
53
-
54
-[flake8]
55
-# E123, E125 skipped as they are invalid PEP-8.
56
-
57
-show-source = True
58
-ignore = E123,E125
59
-builtins = _
60
-exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build

Loading…
Cancel
Save