From b15b9d93a05a2b103b884829934851c0e5a7176e Mon Sep 17 00:00:00 2001 From: Tom Aldcroft Date: Wed, 4 Mar 2020 07:19:59 -0500 Subject: [PATCH] Make tests pass on Windows --- agasc/tests/test_agasc_2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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