Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

Tests: mv requirements_test.txt -> test/requirements.txt (#1197)

bcoles8d91f01b6263
diff --git a/.travis.yml b/.travis.yml
index 8b879c67..0301fd40 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,7 +14,7 @@ before_install:
- python -m pip install --upgrade pip
install:
- - python -m pip install codecov -r requirements_test.txt
+ - python -m pip install codecov -r test/requirements.txt
script:
- python -m pytest --flake8 -n auto --dist loadfile --durations=5 --cov-report term --cov=. .
diff --git a/Dockerfile b/Dockerfile
index aca002bd..7d715b64 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -31,7 +31,7 @@
#
# Running spiderfoot unit tests in container
#
-# sudo docker build -t spiderfoot-test --build-arg REQUIREMENTS=requirements_test.txt .
+# sudo docker build -t spiderfoot-test --build-arg REQUIREMENTS=test/requirements.txt .
# sudo docker run --rm spiderfoot-test -m pytest --flake8 .
FROM alpine:3.12.4 AS build
diff --git a/requirements_test.txt b/test/requirements.txt
similarity index 90%
rename from requirements_test.txt
rename to test/requirements.txt
index 3f5dc6c6..4d092409 100644
--- a/requirements_test.txt
+++ b/test/requirements.txt
@@ -1,4 +1,4 @@
--r requirements.txt
+-r ../requirements.txt
darglint==1.5.4
dlint==0.10.3
flake8==3.9.2