Skip to content

Commit

Permalink
ruff reformat /test_meta_generator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danellecline committed Aug 21, 2024
1 parent 3f145df commit d20c539
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions tests/test_meta_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,18 @@ def test_datetime_support():
"MARS_20191022T235743Z.wav",
"6000.230111155338.wav",
"PacFLT_2_TM02_20130515_234500.d100.x.wav",
"PacFLT_2_TM02_20130515_234500.d100.x.wav"
"PacFLT_2_TM02_20130515_234500.d100.x.wav",
]
prefixes = [
"MARS_",
"6550",
"NRS11_",
"6000",
"MARS_",
"6000",
"PacFLT_2_TM02_",
"PacFLT_2_TM02",
]
prefixes = ["MARS_", "6550", "NRS11_", "6000", "MARS_", "6000", "PacFLT_2_TM02_","PacFLT_2_TM02"]
expected = [
datetime(2019, 10, 22, 23, 57, 58),
datetime(2022, 11, 13, 15, 53, 38),
Expand All @@ -184,7 +193,7 @@ def test_datetime_support():
datetime(2019, 10, 22, 23, 57, 43),
datetime(2023, 1, 11, 15, 53, 38),
datetime(2013, 5, 15, 23, 45, 0),
datetime(2013, 5, 15, 23, 45, 0)
datetime(2013, 5, 15, 23, 45, 0),
]
from pbp.meta_gen.utils import get_datetime

Expand Down

0 comments on commit d20c539

Please sign in to comment.