Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidszotten committed Feb 12, 2015
1 parent 2a613a5 commit 31a867b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def test_extension_str():
container = Mock()

ext = Extension()
assert str(ext).startswith('<Extension [declaration] at')
assert str(ext).startswith('<Extension [unbound] at')

bound = ext.bind(container)
assert str(bound).startswith("<Extension at")
Expand All @@ -226,7 +226,7 @@ def test_dependency_str():
container.service_name = "sérvice"

ext = DependencyProvider()
assert str(ext).startswith('<DependencyProvider [declaration] at')
assert str(ext).startswith('<DependencyProvider [unbound] at')

bound = ext.bind(container, "føbar")
assert str(bound).startswith("<DependencyProvider [sérvice.føbar] at")

0 comments on commit 31a867b

Please sign in to comment.