aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests
diff options
context:
space:
mode:
authorHsiangNianian <i@jyunko.cn>2024-09-19 14:44:33 +0800
committerHsiangNianian <i@jyunko.cn>2024-09-19 14:44:33 +0800
commite9a780496f7ce067e0d8d51ce1d62e48c9f2a8d9 (patch)
treea3e31e07fd001baa1cfce9ceebcdfed58b50bcda /tests
parent9e18d7ebf7a17bb7d7d169da3a3cefde0956a9f9 (diff)
downloadHydroRollCore-e9a780496f7ce067e0d8d51ce1d62e48c9f2a8d9.tar.gz
HydroRollCore-e9a780496f7ce067e0d8d51ce1d62e48c9f2a8d9.zip
feat(core): Implement Service class and related functionalities
Co-authored-by: yuzhe <YUZHEthefool@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/test_rule.py0
-rw-r--r--tests/test_service.py5
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_rule.py b/tests/test_rule.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/test_rule.py
diff --git a/tests/test_service.py b/tests/test_service.py
new file mode 100644
index 0000000..3826081
--- /dev/null
+++ b/tests/test_service.py
@@ -0,0 +1,5 @@
+from hrc.core import Core
+
+core = Core(config_dict={'core':{'services':['hrc.service.console', 'hrc.service.http']}})
+
+core.run() \ No newline at end of file