Skip to content

Commit a25b2be

Browse files
committed
format
1 parent ac3f28b commit a25b2be

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/util/test_attribute_restrictions.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import pytest
55

66
from annofabapi.util.annotation_specs import AnnotationSpecsAccessor
7-
from annofabapi.util.attribute_restrictions import AnnotationLink, Checkbox, IntegerTextbox, Selection, StringTextbox, TrackingId, AttributeFactory
7+
from annofabapi.util.attribute_restrictions import AnnotationLink, AttributeFactory, Checkbox, IntegerTextbox, Selection, StringTextbox, TrackingId
88

99
accessor = AnnotationSpecsAccessor(annotation_specs=json.loads(Path("tests/data/util/attribute_restrictions/annotation_specs.json").read_text()))
1010

@@ -161,8 +161,8 @@ def test__implyメソッドの戻りに対してimplyメソッドを実行する
161161
Checkbox(accessor, attribute_name="occluded").checked().imply(IntegerTextbox(accessor, attribute_name="traffic_lane").equals(2)).imply(
162162
StringTextbox(accessor, attribute_name="note").is_not_empty()
163163
)
164-
165-
164+
165+
166166
class Test__AttributeFactory:
167167
def setup_method(self):
168168
self.annotation_specs = json.loads(Path("tests/data/util/attribute_restrictions/annotation_specs.json").read_text())
@@ -197,4 +197,3 @@ def test__selection(self):
197197
selection = self.factory.selection(attribute_name="car_kind")
198198
assert isinstance(selection, Selection)
199199
assert selection.attribute_id == "cbb0155f-1631-48e1-8fc3-43c5f254b6f2"
200-

0 commit comments

Comments
 (0)