Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolai committed Aug 23, 2019
1 parent 71f7b06 commit 8400a32
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/core/test_policies.py
Expand Up @@ -18,10 +18,7 @@
from rasa.core.constants import USER_INTENT_RESTART, USER_INTENT_BACK
from rasa.core.channels.channel import UserMessage
from rasa.core.domain import Domain, InvalidDomain
from rasa.core.events import (
ActionExecuted,
ConversationPaused,
)
from rasa.core.events import ActionExecuted, ConversationPaused
from rasa.core.featurizers import (
BinarySingleStateFeaturizer,
MaxHistoryTrackerFeaturizer,
Expand Down Expand Up @@ -261,8 +258,8 @@ def test_restart_if_paused(self, priority, domain_with_mapping):
events = [ConversationPaused(), user_uttered(USER_INTENT_RESTART, 1)]

assert (
self._get_next_action(policy, events, domain_with_mapping)
== ACTION_RESTART_NAME
self._get_next_action(policy, events, domain_with_mapping)
== ACTION_RESTART_NAME
)

def test_predict_action_listen(self, priority, domain_with_mapping, intent_mapping):
Expand Down

0 comments on commit 8400a32

Please sign in to comment.