Skip to content

Commit

Permalink
Move pytest fixtures to standard conftest.py location
Browse files Browse the repository at this point in the history
  • Loading branch information
skangas authored and gauteh committed Sep 2, 2023
1 parent 6b6c4b3 commit 9772d59
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 0 additions & 18 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,18 +0,0 @@
import pytest

class MockGmi:
dry_run = False
verbose = False

def __init__(self):
pass



@pytest.fixture
def gmi():
"""
Test gmi
"""

return MockGmi()
18 changes: 18 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import pytest


class MockGmi:
dry_run = False
verbose = False

def __init__(self):
pass


@pytest.fixture
def gmi():
"""
Test gmi
"""

return MockGmi()

0 comments on commit 9772d59

Please sign in to comment.