Skip to content

Commit

Permalink
tweak docstring and arg name
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebachmeier committed Nov 13, 2024
1 parent 9fd7501 commit 562418c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/e2e/test_get_measure.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,14 +335,15 @@ def test_get_measure_covariatelike(


# FIXME [MIC-5454]: Move to vivarium_testing_utilities
def is_slow_test_day(day: str = SLOW_TEST_DAY) -> bool:
def is_slow_test_day(slow_test_day: str = SLOW_TEST_DAY) -> bool:
"""Determine if today is the day to run slow/weekly tests.
Parameters
----------
day
The day to check for. Acceptable values are "Monday", "Tuesday", "Wednesday",
"Thursday", "Friday", "Saturday", or "Sunday". Default is "Sunday".
slow_test_day
The day to run the weekly tests on. Acceptable values are "Monday",
"Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", or "Sunday".
Default is "Sunday".
Notes
-----
Expand All @@ -358,7 +359,7 @@ def is_slow_test_day(day: str = SLOW_TEST_DAY) -> bool:
"Friday",
"Saturday",
"Sunday",
][datetime.datetime.today().weekday()] == day
][datetime.datetime.today().weekday()] == slow_test_day


def run_test(
Expand Down

0 comments on commit 562418c

Please sign in to comment.