Added tests for the open_link method.

This commit is contained in:
Michael Lazar
2016-07-26 00:43:42 -07:00
parent fdb46f8ec7
commit 0dbb3459ed
5 changed files with 126 additions and 15 deletions

View File

@@ -17,7 +17,7 @@ PACKAGE = os.path.dirname(__file__)
HOME = os.path.expanduser('~')
TEMPLATE = os.path.join(PACKAGE, 'templates')
DEFAULT_CONFIG = os.path.join(TEMPLATE, 'rtv.cfg')
DEFAULT_MAILCAP = os.path.join(TEMPLATE 'mailcap')
DEFAULT_MAILCAP = os.path.join(TEMPLATE, 'mailcap')
XDG_HOME = os.getenv('XDG_CONFIG_HOME', os.path.join(HOME, '.config'))
CONFIG = os.path.join(XDG_HOME, 'rtv', 'rtv.cfg')
MAILCAP = os.path.join(XDG_HOME, '.mailcap')