diff --git a/agasc/tests/test_agasc_2.py b/agasc/tests/test_agasc_2.py index 1734297b..ef538bec 100644 --- a/agasc/tests/test_agasc_2.py +++ b/agasc/tests/test_agasc_2.py @@ -33,8 +33,8 @@ import agasc # See if we can get to ASCDS environment and mp_get_agasc -ascrc_file = '{}/.ascrc'.format(os.environ['HOME']) try: + ascrc_file = '{}/.ascrc'.format(os.environ['HOME']) assert os.path.exists(ascrc_file) ascds_env = Ska.Shell.getenv('source {} -r release'.format(ascrc_file), shell='tcsh') assert 'ASCDS_BIN' in ascds_env