-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make relative issue work for python 3
- Loading branch information
Showing
1 changed file
with
13 additions
and
4 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,8 +1,17 @@ | ||
import os | ||
import sys | ||
|
||
# putting 'joommf' into search path | ||
sys.path.insert(0, os.path.abspath('..')) | ||
print(sys.path) | ||
|
||
|
||
def test_run_min_example(): | ||
import minimisation_example | ||
minimisation_example.main() | ||
import joommf.minimisation_example | ||
joommf.minimisation_example.main() | ||
|
||
|
||
|
||
def test_run_dyn_example(): | ||
import dynamics_example | ||
dynamics_example.main() | ||
import joommf.dynamics_example | ||
joommf.dynamics_example.main() |