Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ecthros committed Nov 22, 2016
1 parent 5ce691a commit 51903e5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
import os
import pexpect
from colorama import *
import re

prompt = Fore.BLUE + ">> " + Fore.RESET

def base_test():
os.system("python cli.py")
cli = pexpect.spawn("sudo python cli.py")
cli.expect(re.escape(prompt))

0 comments on commit 51903e5

Please sign in to comment.