Skip to content
This repository has been archived by the owner on Aug 22, 2019. It is now read-only.

Commit

Permalink
updated tests to reflect change
Browse files Browse the repository at this point in the history
  • Loading branch information
lew committed Jan 18, 2019
1 parent f6a1555 commit d61e45f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rasa_core/actions/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import requests
import copy

from rasa_core.version import __version__ as rasa_core_version
import rasa_core
from rasa_core import events
from rasa_core.constants import (
DOCS_BASE_URL,
Expand Down Expand Up @@ -232,7 +232,7 @@ def _action_call_format(self, tracker: 'DialogueStateTracker',
"sender_id": tracker.sender_id,
"tracker": tracker_state,
"domain": domain.as_dict(),
"version": rasa_core_version
"version": rasa_core.__version__
}

@staticmethod
Expand Down
3 changes: 3 additions & 0 deletions tests/test_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import pytest
from httpretty import httpretty

import rasa_core
from rasa_core.actions import action
from rasa_core.actions.action import (
ActionRestart, UtterAction,
Expand Down Expand Up @@ -106,6 +107,7 @@ def test_remote_action_runs(default_dispatcher_collecting, default_domain):
'domain': default_domain.as_dict(),
'next_action': 'my_action',
'sender_id': 'default',
'version': rasa_core.__version__,
'tracker': {
'latest_message': {
'entities': [],
Expand Down Expand Up @@ -161,6 +163,7 @@ def test_remote_action_logs_events(default_dispatcher_collecting,
'domain': default_domain.as_dict(),
'next_action': 'my_action',
'sender_id': 'default',
'version': rasa_core.__version__,
'tracker': {
'latest_message': {
'entities': [],
Expand Down

0 comments on commit d61e45f

Please sign in to comment.