Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data_repository improperly updated in warrior_cli_class.py #509

Open
skoubya opened this issue Jul 24, 2019 · 0 comments
Open

data_repository improperly updated in warrior_cli_class.py #509

skoubya opened this issue Jul 24, 2019 · 0 comments

Comments

@skoubya
Copy link

skoubya commented Jul 24, 2019

When trying to use the pattern response storage on the keyword "send_commands_by_testdata_title", an AttributeError exception occurred. The log of that exception is in the below file.
data_repository_exception.log

This appears to be due to the way that data_repository is accessed in the warrior_cli_class.py file. It gets the repository by "from Framework.Utils.config_Utils import data_repository". This seems to leave data_repository as "None" even if changes are made elsewhere. On the other hand, if "from Framework.Utils import config_Utils" is used and data_repository is referred to as config_Utils.data_repository, the exception is removed and the expected behavior occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant