Skip to content

Commit 9700cc2

Browse files
authored
Merge pull request #63 from Xpirix/fix_tests_and_workflow
Fix workflow and remove deprecated test
2 parents 6d81b30 + ec47119 commit 9700cc2

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

.github/workflows/build-push-images-release.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@ on:
66
description: 'Git tag to use'
77
push:
88
tags:
9-
- '*.*.*.'
10-
- 'v*.*.*.'
9+
- '*'
1110
jobs:
1211
docker-builder-run-on-tag:
1312
runs-on: ubuntu-latest
1413
steps:
1514
- uses: actions/checkout@v4
16-
15+
1716
- name: Set up Docker Buildx
1817
uses: docker/setup-buildx-action@v3
1918

@@ -33,7 +32,6 @@ jobs:
3332
tags: |
3433
qgis/qgis-certification-uwsgi:${{ github.ref_name }}
3534
qgis/qgis-certification-uwsgi:latest
36-
35+
3736
- name: Log out from Docker Hub
3837
run: docker logout
39-

django_project/certification/tests/views/test_certifying_organisation_views.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -631,16 +631,3 @@ def test_update_status_command(self):
631631
self.pending_certifying_organisation.refresh_from_db()
632632
self.assertEqual(self.certifying_organisation.status.name, "Approved")
633633
self.assertEqual(self.pending_certifying_organisation.status.name, "Pending")
634-
635-
@override_settings(
636-
VALID_DOMAIN=[
637-
"testserver",
638-
]
639-
)
640-
def test_auto_reject_command(self):
641-
out = StringIO()
642-
call_command("reject_pending_organisations", "--days=0", stdout=out)
643-
self.certifying_organisation.refresh_from_db()
644-
self.pending_certifying_organisation.refresh_from_db()
645-
self.assertEqual(self.pending_certifying_organisation.status.name, "Rejected")
646-
self.assertTrue(self.pending_certifying_organisation.rejected)

0 commit comments

Comments
 (0)