Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nomad-FAIR
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nomad-lab
nomad-FAIR
Commits
b7eddc59
Commit
b7eddc59
authored
6 years ago
by
Markus Scheidgen
Browse files
Options
Downloads
Patches
Plain Diff
Removed non basic dependency from conftest.
parent
e20fed3e
No related branches found
No related tags found
No related merge requests found
Pipeline
#40570
failed
6 years ago
Stage: build
Stage: test
Stage: release
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/conftest.py
+3
-1
3 additions, 1 deletion
tests/conftest.py
with
3 additions
and
1 deletion
tests/conftest.py
+
3
−
1
View file @
b7eddc59
...
...
@@ -4,7 +4,7 @@ from sqlalchemy.orm import Session
from
mongoengine
import
connect
from
mongoengine.connection
import
disconnect
from
nomad
import
config
,
coe_repo
,
infrastructure
from
nomad
import
config
,
infrastructure
@pytest.fixture
(
scope
=
"
session
"
)
...
...
@@ -119,11 +119,13 @@ def repository_db(monkeysession):
@pytest.fixture
(
scope
=
'
session
'
)
def
test_user
(
repository_db
):
from
nomad
import
coe_repo
return
coe_repo
.
ensure_test_user
(
email
=
'
sheldon.cooper@nomad-fairdi.tests.de
'
)
@pytest.fixture
(
scope
=
'
session
'
)
def
other_test_user
(
repository_db
):
from
nomad
import
coe_repo
return
coe_repo
.
ensure_test_user
(
email
=
'
leonard.hofstadter@nomad-fairdi.tests.de
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment