Skip to content

Commit d8ebeee

Browse files
blaise-ioyoutux
authored andcommitted
Add test for given names with unicode types
1 parent 55069df commit d8ebeee

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

tests/steps/test_unicode.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ def string():
3333
return {'content': ''}
3434

3535

36+
given(u"I have an alias with a unicode type for foo", fixture="foo")
37+
38+
3639
@given(parsers.parse(u"у мене є рядок який містить '{content}'"))
3740
def there_is_a_string_with_content(content, string):
3841
"""Create string with unicode content."""

tests/steps/unicode.feature

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ Feature: Юнікодні символи
77
Scenario: Steps in .py file have unicode
88
Given there is an other string with content 'якийсь контент'
99
Then I should see that the other string equals to content 'якийсь контент'
10+
11+
Scenario: Given names have unicode types
12+
Given I have an alias with a unicode type for foo
13+
Then foo should be "foo"

0 commit comments

Comments
 (0)