Skip to content

Commit

Permalink
Fix test_import.py
Browse files Browse the repository at this point in the history
Closes #57
  • Loading branch information
ddundo authored Nov 17, 2024
1 parent 567bee3 commit 89480db
Showing 1 changed file with 5 additions and 25 deletions.
30 changes: 5 additions & 25 deletions tests/test_import.py
Original file line number Diff line number Diff line change
@@ -1,31 +1,11 @@
# Author: Chunyang Wang
# GitHub Username: acse-cw1722

from pytest import fixture


@fixture(scope="module")
def UM2N():
def test_import_um2n():
import UM2N
assert UM2N

return UM2N


@fixture(scope="module")
def firedrake():
def test_import_firedrake():
import firedrake
assert firedrake

return firedrake


@fixture(scope="module")
def movement():
def test_import_movement():
import movement

return movement


def test_import(UM2N, firedrake, movement):
assert UM2N
assert firedrake
assert movement

0 comments on commit 89480db

Please sign in to comment.