-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed test_binary to work differently
- Loading branch information
Greg Blumberg
committed
Jan 10, 2019
1 parent
c681828
commit 1c8b927
Showing
3 changed files
with
53 additions
and
32 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
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,7 +1,15 @@ | ||
import os | ||
import sys | ||
import pytest | ||
import runsharp.full_gui as full_gui | ||
#from runsharp import full_gui | ||
|
||
@pytest.mark.skipif("DISPLAY_AVAIL" in os.environ and os.environ["DISPLAY_AVAIL"] == 'NO', reason="DISPLAY not set") | ||
def test_main_entry_pt(): | ||
os.system('python runsharp/full_gui.py examples/data/14061619.OAX') | ||
#sys.argv = [] | ||
#print(full_gui.sys.argv) | ||
#full_gui.sys.argv.append('examples/data/14061619.OAX') | ||
full_gui.test('examples/data/14061619.OAX') | ||
|
||
#test_main_entry_pt() | ||
|
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