Skip to content

Commit 06d377a

Browse files
committed
modified tests
1 parent 8e47bdc commit 06d377a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

openml/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
exceptions,
2727
extensions,
2828
flows,
29+
publishing,
2930
runs,
3031
setups,
3132
study,
@@ -36,7 +37,6 @@
3637
from .datasets import OpenMLDataFeature, OpenMLDataset
3738
from .evaluations import OpenMLEvaluation
3839
from .flows import OpenMLFlow
39-
from .publish import publish
4040
from .runs import OpenMLRun
4141
from .setups import OpenMLParameter, OpenMLSetup
4242
from .study import OpenMLBenchmarkSuite, OpenMLStudy
@@ -116,7 +116,7 @@ def populate_cache(
116116
"exceptions",
117117
"extensions",
118118
"flows",
119-
"publish",
119+
"publishing",
120120
"runs",
121121
"setups",
122122
"study",

tests/test_openml/test_openml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def publish(self):
104104
assert obj.name == "new"
105105
assert obj.tags == [{"tag": "legacy"}]
106106

107-
@mock.patch("openml.extensions.functions.get_extension_by_model")
107+
@mock.patch("openml.publishing.extensions.get_extension_by_model")
108108
def test_publish_with_extension(self, get_ext_mock):
109109
flow_mock = mock.MagicMock()
110110
flow_mock.tags = []

0 commit comments

Comments
 (0)