Don't try to import Appindicator on TRAVIS.

This commit is contained in:
Abhay Rana 2014-06-07 10:57:48 +05:30
parent b1bcdf1024
commit da7998462f
2 changed files with 8 additions and 8 deletions

View File

@ -9,18 +9,19 @@ if(os.environ.get('TRAVIS')!='true'):
import gtk
import webbrowser
try:
import appindicator
except ImportError:
import appindicator_replacement as appindicator
from appindicator_replacement import get_icon_filename
import json
import argparse
from os.path import expanduser
import signal
try:
import appindicator
except ImportError:
import appindicator_replacement as appindicator
from appindicator_replacement import get_icon_filename
##This is to get --version to work
try:
import pkg_resources

View File

@ -6,7 +6,6 @@ from hackertray import Chrome
class ChromeTest(unittest.TestCase):
def runTest(self):
config_folder_path = os.getcwd()+'/test/'
print config_folder_path
data = Chrome.search([
"https://github.com/",
"https://news.ycombinator.com/",