Skip to content

Commit 0eb680b

Browse files
Apply pre-commit fix
From the artifact of the previous workflow run
1 parent 0f40560 commit 0eb680b

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

Diff for: acceptance_tests/tests/tests/test_index.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
2-
31
def test_without_secret(app_connection):
42
content = app_connection.get("c2c", cors=False)
53
assert "Health checks" in content

Diff for: tests/acceptance/test_utils.py

+10-6
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,16 @@
22

33

44
def test_approx():
5-
assert utils.approx(
6-
{"a": 5.6, "b": [4.3], "c": {"d": 2.3}}, abs=0.1
7-
) == {"a": 5.61, "b": [4.32], "c": {"d": 2.33}}
5+
assert utils.approx({"a": 5.6, "b": [4.3], "c": {"d": 2.3}}, abs=0.1) == {
6+
"a": 5.61,
7+
"b": [4.32],
8+
"c": {"d": 2.33},
9+
}
810

9-
assert utils.approx(
10-
{"a": 5.6, "b": [4.3], "c": {"d": 2.3}}, abs=0.1
11-
) != {"a": 5.61, "b": [4.32], "c": {"d": 2.5}}
11+
assert utils.approx({"a": 5.6, "b": [4.3], "c": {"d": 2.3}}, abs=0.1) != {
12+
"a": 5.61,
13+
"b": [4.32],
14+
"c": {"d": 2.5},
15+
}
1216

1317
assert utils.approx(3.15, abs=0.02) == 3.14

0 commit comments

Comments
 (0)