Skip to content

Commit

Permalink
Fix imports from tests.goth.assertions module
Browse files Browse the repository at this point in the history
  • Loading branch information
azawlocki committed Jul 5, 2021
1 parent e2e6d29 commit f83421e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/goth/conftest.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from datetime import datetime, timezone
from pathlib import Path
from typing import cast, List, Tuple
from typing import cast, List

import pytest

from goth.configuration import Override
from yapapi.package import Package, vm
from yapapi.package import vm


def pytest_addoption(parser):
Expand Down
6 changes: 5 additions & 1 deletion tests/goth/test_run_blender.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
from goth.runner import Runner
from goth.runner.probe import RequestorProbe

from .assertions import assert_no_errors, assert_all_invoices_accepted, assert_tasks_processed
from tests.goth.assertions import (
assert_no_errors,
assert_all_invoices_accepted,
assert_tasks_processed,
)


logger = logging.getLogger("goth.test.run_blender")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from goth.runner import Runner
from goth.runner.probe import RequestorProbe

from .assertions import assert_no_errors, assert_all_invoices_accepted
from tests.goth.assertions import assert_no_errors, assert_all_invoices_accepted


logger = logging.getLogger("goth.test.run_simple_service")
Expand Down
7 changes: 6 additions & 1 deletion tests/goth/test_run_yacat.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,12 @@
from goth.runner import Runner
from goth.runner.probe import RequestorProbe

from .assertions import assert_no_errors, assert_all_invoices_accepted, assert_tasks_processed
from tests.goth.assertions import (
assert_no_errors,
assert_all_invoices_accepted,
assert_tasks_processed,
)


logger = logging.getLogger("goth.test.run_yacat")

Expand Down

0 comments on commit f83421e

Please sign in to comment.