Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Merge requests
!394
Something went wrong on our end
Grafana
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Grafana
460-grafana-random-redirects
into
dev
Overview
0
Commits
112
Pipelines
0
Changes
2
Merged
Martin Weise
requested to merge
460-grafana-random-redirects
into
dev
2 months ago
Overview
0
Commits
112
Pipelines
0
Changes
2
Expand
Signed-off-by: Martin Weise
martin.weise@tuwien.ac.at
Closes #460
0
0
Merge request reports
Viewing commit
90ef963f
Prev
Next
Show latest version
2 files
+
11
−
508
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
90ef963f
Shorter CI/CD pipeline for debugging
· 90ef963f
Martin Weise
authored
2 months ago
dbrepo-dashboard-service/init/tests/conftest.py
+
11
−
2
Options
@@ -3,12 +3,21 @@ import os
import
pytest
from
app
import
app
from
clients.grafana_client
import
GrafanaClient
from
tests.grafana
import
GrafanaContainer
logging
.
basicConfig
(
level
=
logging
.
DEBUG
)
@pytest.fixture
(
scope
=
"
session
"
,
autouse
=
True
)
def
session
(
request
):
@pytest.fixture
(
scope
=
"
session
"
)
def
app_context
():
with
app
.
app_context
():
yield
@pytest.fixture
(
scope
=
"
session
"
)
def
session
(
request
,
app_context
):
"""
Create one Grafana container per test run only (admin:admin)
:param request: /
Loading