-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: test_tooltip.py
convert to functional tests instead of class
#40550
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
TST: test_tooltip.py
convert to functional tests instead of class
#40550
Conversation
assert "#T__ .other-class {\n color: green;\n color: red;\n}" in s | ||
|
||
|
||
@pytest.fixture |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same, make this styler
put these in a conftest.py
to share across all tests in this dir
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name changed.
currently the df
and styler
in different modules are different. Can do a followup to implement consistent and universal fixtures.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh i c, ok then
thanks @attack68 |
pytest.fixture
instead of Class setup method.test_tooltip_reindex
since it is already being tested bytest_tooltip_render