Skip to content

Commit 2b57421

Browse files
author
Steve Canny
committed
refac: re-enable Describe_ImageHeaderFactory
1 parent 17ae529 commit 2b57421

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/image/test_image.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,11 @@ def stream_(self, request):
163163

164164
class Describe_ImageHeaderFactory(object):
165165

166-
# def it_constructs_the_right_class_for_a_given_image_stream(
167-
# self, call_fixture):
168-
# stream, expected_class = call_fixture
169-
# image_header = _ImageHeaderFactory(stream)
170-
# assert isinstance(image_header, expected_class)
166+
def it_constructs_the_right_class_for_a_given_image_stream(
167+
self, call_fixture):
168+
stream, expected_class = call_fixture
169+
image_header = _ImageHeaderFactory(stream)
170+
assert isinstance(image_header, expected_class)
171171

172172
def it_raises_on_unrecognized_image_stream(self):
173173
stream = BytesIO(b'foobar 666 not an image stream')

0 commit comments

Comments
 (0)