diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2018-10-26 22:38:11 +0200 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2018-11-04 10:36:35 +0100 |
commit | 97280c034ddea63be623e771fd5ca92fafb3471d (patch) | |
tree | 49cf1e73d9a612c25b90c08cbfac7932a1606203 /_pytest/conftest.py | |
parent | 54f41dc65fe07d194990fa80172a092414dac358 (diff) | |
download | wee-slack-97280c034ddea63be623e771fd5ca92fafb3471d.tar.gz |
Store hdata structure in a class
Simplifies the usage so we don't have to look it up each time.
Diffstat (limited to '_pytest/conftest.py')
-rw-r--r-- | _pytest/conftest.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/_pytest/conftest.py b/_pytest/conftest.py index 74ed537..b32369a 100644 --- a/_pytest/conftest.py +++ b/_pytest/conftest.py @@ -94,6 +94,7 @@ class FakeWeechat(): def mock_weechat(): wee_slack.w = FakeWeechat() wee_slack.config = wee_slack.PluginConfig() + wee_slack.hdata = wee_slack.Hdata(wee_slack.w) wee_slack.debug_string = None wee_slack.slack_debug = "debug_buffer_ptr" wee_slack.STOP_TALKING_TO_SLACK = False |