Skip to content

Commit 8c397f9

Browse files
author
Jon Wayne Parrott
committed
Fixing lint issues
1 parent 03ced8f commit 8c397f9

File tree

7 files changed

+14
-14
lines changed

7 files changed

+14
-14
lines changed

2-structured-data/tests/test_crud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def test_list(self, app, model):
4040

4141
body = rv.data.decode('utf-8')
4242
assert 'Book 1' in body, "Should show books"
43-
assert (len(re.findall('<h4>Book', body)) == 10,
44-
"Should not show more than 10 books")
43+
assert len(re.findall('<h4>Book', body)) == 10, (
44+
"Should not show more than 10 books")
4545
assert 'More' in body, "Should have more than one page"
4646

4747
def test_add(self, app):

3-binary-data/tests/test_crud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def test_list(self, app, model):
4040

4141
body = rv.data.decode('utf-8')
4242
assert 'Book 1' in body, "Should show books"
43-
assert (len(re.findall('<h4>Book', body)) == 10,
44-
"Should not show more than 10 books")
43+
assert len(re.findall('<h4>Book', body)) == 10, (
44+
"Should not show more than 10 books")
4545
assert 'More' in body, "Should have more than one page"
4646

4747
def test_add(self, app):

4-auth/tests/test_crud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def test_list(self, app, model):
4040

4141
body = rv.data.decode('utf-8')
4242
assert 'Book 1' in body, "Should show books"
43-
assert (len(re.findall('<h4>Book', body)) == 10,
44-
"Should not show more than 10 books")
43+
assert len(re.findall('<h4>Book', body)) == 10, (
44+
"Should not show more than 10 books")
4545
assert 'More' in body, "Should have more than one page"
4646

4747
def test_add(self, app):

5-logging/tests/test_crud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def test_list(self, app, model):
4040

4141
body = rv.data.decode('utf-8')
4242
assert 'Book 1' in body, "Should show books"
43-
assert (len(re.findall('<h4>Book', body)) == 10,
44-
"Should not show more than 10 books")
43+
assert len(re.findall('<h4>Book', body)) == 10, (
44+
"Should not show more than 10 books")
4545
assert 'More' in body, "Should have more than one page"
4646

4747
def test_add(self, app):

6-pubsub/tests/test_crud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def test_list(self, app, model):
4040

4141
body = rv.data.decode('utf-8')
4242
assert 'Book 1' in body, "Should show books"
43-
assert (len(re.findall('<h4>Book', body)) == 10,
44-
"Should not show more than 10 books")
43+
assert len(re.findall('<h4>Book', body)) == 10, (
44+
"Should not show more than 10 books")
4545
assert 'More' in body, "Should have more than one page"
4646

4747
def test_add(self, app):

7-gce/tests/test_crud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def test_list(self, app, model):
4040

4141
body = rv.data.decode('utf-8')
4242
assert 'Book 1' in body, "Should show books"
43-
assert (len(re.findall('<h4>Book', body)) == 10,
44-
"Should not show more than 10 books")
43+
assert len(re.findall('<h4>Book', body)) == 10, (
44+
"Should not show more than 10 books")
4545
assert 'More' in body, "Should have more than one page"
4646

4747
def test_add(self, app):

optional-container-engine/tests/test_crud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def test_list(self, app, model):
4040

4141
body = rv.data.decode('utf-8')
4242
assert 'Book 1' in body, "Should show books"
43-
assert (len(re.findall('<h4>Book', body)) == 10,
44-
"Should not show more than 10 books")
43+
assert len(re.findall('<h4>Book', body)) == 10, (
44+
"Should not show more than 10 books")
4545
assert 'More' in body, "Should have more than one page"
4646

4747
def test_add(self, app):

0 commit comments

Comments
 (0)