Skip to content

Commit

Permalink
Removed f-string
Browse files Browse the repository at this point in the history
  • Loading branch information
Imod7 committed Mar 17, 2021
1 parent d539e52 commit 0f2dff7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/shared/core/test_domain.py
Original file line number Diff line number Diff line change
Expand Up @@ -1311,9 +1311,8 @@ def test_is_valid_domain_doesnt_raise_with_invalid_yaml(tmpdir: Path):
def test_domain_with_empty_intent_mapping():
# domain.yml with intent (intent_name) that has a `:` character
# and nothing after it.
test_yaml = f"""
intents:
- intent_name:"""
test_yaml = """intents:
- intent_name:"""

with pytest.raises(InvalidDomain):
Domain.from_yaml(test_yaml).as_dict()

0 comments on commit 0f2dff7

Please sign in to comment.