Skip to content
Snippets Groups Projects
Commit 134432b5 authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

MAINT: replaced comparison operators for bool values

parent 3905d7a6
No related branches found
No related tags found
1 merge request!53Release 0.1
......@@ -53,10 +53,10 @@ def test_crawler():
# Check the copy flags for the first level in the hierarchy:
assert len(subc[0]) == 3
assert len(subc[1]) == 1
assert subc[1]["Project"] == False
assert subc[0]["Project"] == False
assert subc[0]["date"] == False
assert subc[0]["identifier"] == False
assert subc[1]["Project"] is False
assert subc[0]["Project"] is False
assert subc[0]["date"] is False
assert subc[0]["identifier"] is False
......@@ -88,12 +88,12 @@ def test_crawler():
assert subd[1]["Measurement"].get_property("project").value == subd[0]["Project"]
# Check the copy flags for the second level in the hierarchy:
assert subc[1]["Project"] == True
assert subc[0]["Project"] == True
assert subc[1]["Measurement"] == False
assert subc[0]["Measurement"] == False
assert subc[0]["date"] == False
assert subc[0]["identifier"] == False
assert subc[1]["Project"] is True
assert subc[0]["Project"] is True
assert subc[1]["Measurement"] is False
assert subc[0]["Measurement"] is False
assert subc[0]["date"] is False
assert subc[0]["identifier"] is False
def test_markdown_converter():
test_readme = File("README.md", rfp(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment