Skip to content

Commit 1ee8886

Browse files
review @sanderegg
1 parent 7e8313c commit 1ee8886

File tree

4 files changed

+20
-45
lines changed

4 files changed

+20
-45
lines changed

packages/postgres-database/src/simcore_postgres_database/migration/versions/3720518f82a7_modify_licenses_db.py

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

packages/postgres-database/src/simcore_postgres_database/migration/versions/aa6da21a0055_rename_usages_to_checkouts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""rename usages to checkouts
22
33
Revision ID: aa6da21a0055
4-
Revises: 3720518f82a7
4+
Revises: 77ac824a77ff
55
Create Date: 2024-12-17 13:47:09.304574+00:00
66
77
"""
@@ -11,7 +11,7 @@
1111

1212
# revision identifiers, used by Alembic.
1313
revision = "aa6da21a0055"
14-
down_revision = "3720518f82a7"
14+
down_revision = "77ac824a77ff"
1515
branch_labels = None
1616
depends_on = None
1717

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
from pathlib import Path
2+
3+
import pytest
4+
5+
6+
@pytest.fixture
7+
def results_path(request):
8+
"""
9+
Fixture to retrieve the path to the test's results directory.
10+
"""
11+
# Check if `results_dir` is available in the current test's user properties
12+
results_dir = dict(request.node.user_properties).get("results_dir")
13+
if not results_dir:
14+
results_dir = "test-results" # Default results directory
15+
test_name = request.node.name
16+
test_dir = Path(results_dir) / test_name
17+
test_dir.mkdir(parents=True, exist_ok=True) # Ensure the test directory exists
18+
return test_dir

tests/e2e-playwright/tests/platform_CI_tests/test_platform.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,6 @@ def store_browser_context() -> bool:
1818
return True
1919

2020

21-
@pytest.fixture
22-
def results_path(request):
23-
"""
24-
Fixture to retrieve the path to the test's results directory.
25-
"""
26-
# Check if `results_dir` is available in the current test's user properties
27-
results_dir = dict(request.node.user_properties).get("results_dir")
28-
if not results_dir:
29-
results_dir = "test-results" # Default results directory
30-
test_name = request.node.name
31-
test_dir = Path(results_dir) / test_name
32-
test_dir.mkdir(parents=True, exist_ok=True) # Ensure the test directory exists
33-
return test_dir
34-
35-
3621
@pytest.fixture
3722
def logged_in_context(
3823
playwright: Playwright,

0 commit comments

Comments
 (0)