Skip to content

Commit

Permalink
change: remove verbatim NB from tests (amazon-braket#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
virajvchaudhari authored Mar 13, 2022
1 parent f8dc2ff commit 859ee4b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/notebook_tests/test_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,11 @@
]


# Currently not executing rigetti tests so 'is_within_time_window' variable won't be used.
def _rigetti_availability(file_name):
rigetti_start_time = str(datetime.time(15, 0))
rigetti_end_time = str(datetime.time(19, 0))
is_within_time_window = rigetti_start_time < CURRENT_TIME < rigetti_end_time
if file_name == "Verbatim_Compilation.ipynb" and is_within_time_window:
return True
if file_name in EXCLUDED_NOTEBOOKS:
return False
return True
Expand Down

0 comments on commit 859ee4b

Please sign in to comment.