-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #57
- Loading branch information
Showing
1 changed file
with
5 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |