Skip to content

Commit 86376bb

Browse files
.
1 parent 408ba01 commit 86376bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pystrometry/tests/test_get_ephemeris.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ def test_get_ephemeris_valid_input():
2020
logging.info(f"\nephemeris_dir={ephemeris_dir}\n")
2121
horizons_file_seed = '{}_{}_{}_{}_{}'.format(center, target, start_time, stop_time, step_size)
2222
out_file = os.path.join(ephemeris_dir, horizons_file_seed + '.txt')
23-
assert os.path.isfile(out_file), f"Expected output file {out_file} does not exist."
2423

2524
# Call the function
2625
result = get_ephemeris(center=center, target=target, start_time=start_time, stop_time=stop_time, step_size=step_size)
27-
26+
assert os.path.isfile(out_file), f"Expected output file {out_file} does not exist."
27+
2828
# Validate the result
2929
assert isinstance(result, Table), "Result should be an Astropy Table"
3030
assert len(result) > 0, "Result table should not be empty"

0 commit comments

Comments
 (0)