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

@named_data decorator to give tests with @data custom names #103

Merged
merged 2 commits into from
May 24, 2022
Merged

@named_data decorator to give tests with @data custom names #103

merged 2 commits into from
May 24, 2022

Conversation

orgadish
Copy link
Contributor

@orgadish orgadish commented May 6, 2022

#100

Changelist:

  • Implemented @named_data decorator with specialty helper classes NamedDataList and NamedDataDict which get added to ddt_trivial_types.
  • Implemented unittests in test_named_data.TestNamedData.

Testing:

  • test_named_data.TestNamedData

…edDataList helper classes. Created TestNamedData unittests in test_named_data.py.
@orgadish
Copy link
Contributor Author

orgadish commented May 6, 2022

@wswld I tried using tox per the instructions in CONTRIBUTING.md but ran into the following error when it got to python3.5:

ERROR: InvocationError for command /Users/orgadish/PycharmProjects/ddt/.tox/py27/bin/flake8 ddt.py test (exited with code 1)
py35 create: /Users/orgadish/PycharmProjects/ddt/.tox/py35
ERROR: InterpreterNotFound: python3.5
__________________________________________________________________________________________________ summary __________________________________________________________________________________________________
ERROR:   py27: commands failed
ERROR:  py35: InterpreterNotFound: python3.5

@wswld wswld merged commit 631fc21 into datadriventests:master May 24, 2022
@orgadish orgadish deleted the OG_named_data-on-master branch May 24, 2022 07:22
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

Successfully merging this pull request may close these issues.

2 participants