Browse Source

[tests] Rename tests_requirements.txt into requirements-testing.txt,
for consistency with other requirements-XYZ files.

Romain DEP. 5 years ago
parent
commit
78b01c91f8
6 changed files with 7 additions and 7 deletions
  1. 1 1
      README.rst
  2. 2 2
      dev/ansible/roles/pagure-dev/tasks/main.yml
  3. 1 1
      dev/docker/web-run
  4. 1 1
      doc/development.rst
  5. 0 0
      requirements-testing.txt
  6. 2 2
      tox.ini

+ 1 - 1
README.rst

@@ -250,7 +250,7 @@ This will launch the application at http://127.0.0.1:5000
 
   * Install the dependencies::
 
-      pip install -r tests_requirements.txt
+      pip install -r requirements-testing.txt
 
   * Run it::
 

+ 2 - 2
dev/ansible/roles/pagure-dev/tasks/main.yml

@@ -113,7 +113,7 @@
   with_items:
     - "requirements.txt"
     - "requirements-ev.txt"
-    - "tests_requirements.txt"
+    - "requirements-testing.txt"
 
 - name: Install Pagure Python dependencies into a python3 virtualenv
   become_user: "{{ ansible_env.SUDO_USER }}"
@@ -124,7 +124,7 @@
   with_items:
     - "requirements.txt"
     - "requirements-ev.txt"
-    - "tests_requirements.txt"
+    - "requirements-testing.txt"
 
 - name: Install Pagure package into a virtualenv
   become_user: "{{ ansible_env.SUDO_USER }}"

+ 1 - 1
dev/docker/web-run

@@ -1,5 +1,5 @@
 #!/bin/bash -xe
-pip install -r tests_requirements.txt
+pip install -r requirements-testing.txt
 python setup.py build
 if [ ! -f /attachments/inited ];
 then

+ 1 - 1
doc/development.rst

@@ -277,7 +277,7 @@ local pagure instance.
 
 * Install the dependencies::
 
-     pip install -r tests_requirements.txt
+     pip install -r requirements-testing.txt
 
 * Run it::
 

+ 0 - 0
tests_requirements.txt → requirements-testing.txt


+ 2 - 2
tox.ini

@@ -8,7 +8,7 @@ usedevelop = True
 deps =
     flask011: flask>=0.11,<0.12
     flask012: flask>=0.12,<0.13
-    -rtests_requirements.txt
+    -rrequirements-testing.txt
     ci: -rrequirements-ev.txt
     ci: psycopg2
     ci: python-openid
@@ -26,7 +26,7 @@ commands =
 [testenv:timetests]
 basepython = python3
 deps =
-    -rtests_requirements.txt
+    -rrequirements-testing.txt
     nose-timer
 commands =
     nosetests --with-timer --timer-top-n 10 --timer-ok 500ms --timer-warning 1 --timer-json-file tests-duration.json {posargs}