Skip to content

Commit 716f908

Browse files
authored
remove gitpython, the single (unused) test that uses it, and references to it from dockerfile/github workflow, and git binary once used (#14808)
1 parent c851b98 commit 716f908

5 files changed

Lines changed: 2 additions & 254 deletions

File tree

.github/workflows/integration-tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ jobs:
7373
"tests/tool_type_test.py",
7474
"tests/user_profile_test.py",
7575
"tests/user_test.py",
76-
# "tests/import_scanner_test.py",
7776
# "tests/zap.py",
7877
]
7978
os: [debian]

Dockerfile.django-debian

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ RUN \
6767
--no-cache-dir \
6868
--no-index \
6969
--find-links=/tmp/wheels \
70-
-r ./requirements.txt
70+
-r ./requirements.txt && \
71+
apt-get -y purge --auto-remove git
7172

7273
COPY \
7374
docker/entrypoint-celery-beat.sh \

docker/entrypoint-integration-tests.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -274,13 +274,6 @@ else
274274
# The below tests are commented out because they are still an unstable work in progress
275275
## Once Ready they can be uncommented.
276276

277-
# echo "Import Scanner integration test"
278-
# if python3 tests/import_scanner_test.py ; then
279-
# echo "Success: Import Scanner integration tests passed"
280-
# else
281-
# echo "Error: Import Scanner integration test failed"; exit 1
282-
# fi
283-
284277
# echo "Zap integration test"
285278
# if python3 tests/zap.py ; then
286279
# echo "Success: zap integration tests passed"

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ whitenoise==5.2.0
4343
titlecase==2.4.1
4444
social-auth-app-django==5.8.0
4545
social-auth-core==4.8.7
46-
gitpython==3.1.50
4746
python-gitlab==8.3.0
4847
cpe==1.3.1
4948
packageurl-python==0.17.6

tests/import_scanner_test.py

Lines changed: 0 additions & 244 deletions
This file was deleted.

0 commit comments

Comments
 (0)