Skip to content

Commit

Permalink
- fixed test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JannickWeisshaupt committed Oct 24, 2018
1 parent b038933 commit 08e4a9b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_exciting.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,15 @@
atoms = np.array([[0.0, 0.0, 0.0, 6], [0.25, 0.25, 0.25, 6]])
diamond = sst.CrystalStructure(unit_cell, atoms)

if not os.path.isdir(os.path.dirname(os.path.abspath(__file__))+'/outputs/'):
os.mkdir(os.path.dirname(os.path.abspath(__file__))+'/outputs/')

def start_engine(blocking=True):
pass

handler = Handler()
handler._start_engine = start_engine
handler.project_directory =os.path.dirname(os.path.abspath(__file__))+'/outputs/'
handler.project_directory = os.path.dirname(os.path.abspath(__file__))+'/outputs/'

def test_scf():
handler.start_ground_state(diamond)
Expand Down

0 comments on commit 08e4a9b

Please sign in to comment.