Skip to content
Snippets Groups Projects
Verified Commit cfc747f0 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

STY: autopep8

parent fcdf7302
No related branches found
No related tags found
2 merge requests!178FIX: #96 Better error output for crawl.py script.,!171sav/spss converter
Pipeline #51985 passed with warnings
...@@ -308,6 +308,7 @@ code-style: ...@@ -308,6 +308,7 @@ code-style:
- job: build-testenv - job: build-testenv
optional: true optional: true
script: script:
- autopep8 --version
- autopep8 -r --diff --exit-code . - autopep8 -r --diff --exit-code .
allow_failure: true allow_failure: true
......
...@@ -126,7 +126,8 @@ def test_non_default_name(): ...@@ -126,7 +126,8 @@ def test_non_default_name():
ident = CaosDBIdentifiableAdapter() ident = CaosDBIdentifiableAdapter()
identifiable = ident.get_identifiable(SyncNode(db.Record(name="don't touch it") identifiable = ident.get_identifiable(SyncNode(db.Record(name="don't touch it")
.add_parent("Person") .add_parent("Person")
.add_property(name="last_name", value='Tom'), db.RecordType() .add_property(name="last_name", value='Tom'),
db.RecordType()
.add_parent(name="Person") .add_parent(name="Person")
.add_property(name="last_name")), []) .add_property(name="last_name")), [])
assert identifiable.name is None assert identifiable.name is None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment