From 7432444d28fbe8ad6c36a3d3410c67734edbac0f Mon Sep 17 00:00:00 2001 From: m-vdb Date: Thu, 14 Jan 2021 14:42:09 +0100 Subject: [PATCH] fix test in python 3.6 --- tests/shared/utils/test_common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/shared/utils/test_common.py b/tests/shared/utils/test_common.py index b2b47b48770c..ba9e5df8575d 100644 --- a/tests/shared/utils/test_common.py +++ b/tests/shared/utils/test_common.py @@ -5,8 +5,8 @@ import pytest from _pytest.recwarn import WarningsRecorder +import rasa.shared.core.domain import rasa.shared.utils.common -from rasa.shared.core.domain import Domain, State def test_all_subclasses(): @@ -178,8 +178,8 @@ def test_class_from_module_path_not_found( @pytest.mark.parametrize( "module_path, result, outcome", [ - ("rasa.shared.core.domain.Domain", Domain, True), - ("rasa.shared.core.domain.State", State, False), + ("rasa.shared.core.domain.Domain", rasa.shared.core.domain.Domain, True), + ("rasa.shared.core.domain.logger", rasa.shared.core.domain.logger, False), ], ) def test_class_from_module_path_ensure_class(