Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 12, 2024
1 parent 1debff0 commit 8c9e582
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions micromagnetictests/calculatortests/info_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def test_info_file(calculator):
assert "driver" in info

assert info["drive_number"] == 0
assert re.findall(r"\d{4}-\d{2}-\d{2}", info["date"]) is not []
assert re.findall(r"\d{2}:\d{2}-\d{2}", info["time"]) is not []
assert re.findall(r"\d{4}-\d{2}-\d{2}", info["date"]) != []
assert re.findall(r"\d{2}:\d{2}-\d{2}", info["time"]) != []
assert info["driver"] == "TimeDriver"
assert info["t"] == 25e-12
assert info["n"] == 10
Expand All @@ -64,8 +64,8 @@ def test_info_file(calculator):
assert "driver" in info

assert info["drive_number"] == 1
assert re.findall(r"\d{4}-\d{2}-\d{2}", info["date"]) is not []
assert re.findall(r"\d{2}:\d{2}-\d{2}", info["time"]) is not []
assert re.findall(r"\d{4}-\d{2}-\d{2}", info["date"]) != []
assert re.findall(r"\d{2}:\d{2}-\d{2}", info["time"]) != []
assert info["driver"] == "MinDriver"

calculator.delete(system)

0 comments on commit 8c9e582

Please sign in to comment.