Skip to content

Commit

Permalink
make relative issue work for python 3
Browse files Browse the repository at this point in the history
  • Loading branch information
fangohr committed Mar 18, 2016
1 parent 6b83bde commit 09c831b
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions joommf/test_examples.py
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()

0 comments on commit 09c831b

Please sign in to comment.