Skip to content

Commit

Permalink
[IMP] Do not start and stop DFIR-IRIS during backend tests
Browse files Browse the repository at this point in the history
  • Loading branch information
c8y3 committed Oct 2, 2024
1 parent 93ab004 commit 3bce4c9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
docker compose --file ../docker-compose.dev.yml --env-file data/basic.env up --detach
docker compose --file ../docker-compose.dev.yml --env-file data/basic.env up --detach --wait
PYTHONUNBUFFERED=true python -m unittest --verbose
docker compose down
- name: Start development server
Expand Down
5 changes: 0 additions & 5 deletions tests/tests_graphql.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,8 @@ class TestsGraphQL(TestCase):
@classmethod
def setUpClass(cls) -> None:
cls._subject = Iris()
cls._subject.start()
cls._subject.wait_until_api_is_ready()

@classmethod
def tearDownClass(cls) -> None:
cls._subject.stop()

def tearDown(self):
self._subject.clear_database()

Expand Down
5 changes: 0 additions & 5 deletions tests/tests_rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,8 @@ class TestsRest(TestCase):
@classmethod
def setUpClass(cls) -> None:
cls._subject = Iris()
cls._subject.start()
cls._subject.wait_until_api_is_ready()

@classmethod
def tearDownClass(cls) -> None:
cls._subject.stop()

def tearDown(self):
self._subject.clear_database()

Expand Down

0 comments on commit 3bce4c9

Please sign in to comment.