Skip to content

Commit

Permalink
Add sleeps to test to avoid eutils issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelever committed Mar 29, 2018
1 parent a0b2990 commit 5b563f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_basic.py
Expand Up @@ -2,16 +2,19 @@
import pubrunner
import pubrunner.command_line
import os
import time

def test_countwords():
parentDir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
projectPath = os.path.join(parentDir,'examples','CountWords')
sys.argv = ['pubrunner', '--defaultsettings', '--test',projectPath]
pubrunner.command_line.main()
time.sleep(1)

def test_textminingcounter():
parentDir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
projectPath = os.path.join(parentDir,'examples','TextMiningCounter')
sys.argv = ['pubrunner', '--defaultsettings', '--test',projectPath]
pubrunner.command_line.main()
time.sleep(1)

0 comments on commit 5b563f9

Please sign in to comment.