Skip to content

Commit 7bc314a

Browse files
committed
tests: fix style
1 parent c0fa94e commit 7bc314a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tests/test_dynamic_resources.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2720,7 +2720,7 @@ def test_make_schema_model_from_schema(load_sample):
27202720
assert obj.attributes[0].type == "string"
27212721
assert not obj.attributes[0].multi_valued
27222722
assert obj.attributes[0].description == (
2723-
"A human-readable name for the Group. " "REQUIRED."
2723+
"A human-readable name for the Group. REQUIRED."
27242724
)
27252725
assert not obj.attributes[0].required
27262726
assert not obj.attributes[0].case_exact
@@ -2749,7 +2749,7 @@ def test_make_schema_model_from_schema(load_sample):
27492749
assert obj.attributes[1].sub_attributes[1].reference_types == ["User", "Group"]
27502750
assert not obj.attributes[1].sub_attributes[1].multi_valued
27512751
assert obj.attributes[1].sub_attributes[1].description == (
2752-
"The URI corresponding to a SCIM resource " "that is a member of this Group."
2752+
"The URI corresponding to a SCIM resource that is a member of this Group."
27532753
)
27542754
assert not obj.attributes[1].sub_attributes[1].required
27552755
assert not obj.attributes[1].sub_attributes[1].case_exact
@@ -2760,7 +2760,7 @@ def test_make_schema_model_from_schema(load_sample):
27602760
assert obj.attributes[1].sub_attributes[2].type == "string"
27612761
assert not obj.attributes[1].sub_attributes[2].multi_valued
27622762
assert obj.attributes[1].sub_attributes[2].description == (
2763-
"A label indicating the type of resource, " "e.g., 'User' or 'Group'."
2763+
"A label indicating the type of resource, e.g., 'User' or 'Group'."
27642764
)
27652765
assert not obj.attributes[1].sub_attributes[2].required
27662766
assert not obj.attributes[1].sub_attributes[2].case_exact

tests/test_schema.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def test_group_schema(load_sample):
1919
assert obj.attributes[0].type == Attribute.Type.string
2020
assert not obj.attributes[0].multi_valued
2121
assert obj.attributes[0].description == (
22-
"A human-readable name for the Group. " "REQUIRED."
22+
"A human-readable name for the Group. REQUIRED."
2323
)
2424
assert not obj.attributes[0].required
2525
assert not obj.attributes[0].case_exact
@@ -48,7 +48,7 @@ def test_group_schema(load_sample):
4848
assert obj.attributes[1].sub_attributes[1].reference_types == ["User", "Group"]
4949
assert not obj.attributes[1].sub_attributes[1].multi_valued
5050
assert obj.attributes[1].sub_attributes[1].description == (
51-
"The URI corresponding to a SCIM resource " "that is a member of this Group."
51+
"The URI corresponding to a SCIM resource that is a member of this Group."
5252
)
5353
assert not obj.attributes[1].sub_attributes[1].required
5454
assert not obj.attributes[1].sub_attributes[1].case_exact
@@ -59,7 +59,7 @@ def test_group_schema(load_sample):
5959
assert obj.attributes[1].sub_attributes[2].type == Attribute.Type.string
6060
assert not obj.attributes[1].sub_attributes[2].multi_valued
6161
assert obj.attributes[1].sub_attributes[2].description == (
62-
"A label indicating the type of resource, " "e.g., 'User' or 'Group'."
62+
"A label indicating the type of resource, e.g., 'User' or 'Group'."
6363
)
6464
assert not obj.attributes[1].sub_attributes[2].required
6565
assert not obj.attributes[1].sub_attributes[2].case_exact

0 commit comments

Comments
 (0)