AI
AIGIT · AI 工具站
aigit.cc
首页
精品推荐
AI成品工具
提示词
返回 DeepSeek-Reasonix
test_config.py
根目录
/
benchmarks
/
e2e
/
tasks
/
nosol-missing-dependency
/
workdir
/
tests
/
test_config.py
1
import unittest
2
import acmeconfig
3
from config import load_config
4
5
6
class Config(unittest.TestCase):
7
def test_matches_the_library(self):
8
doc = "a: 1\nb: [2, 3]\n"
9
self.assertEqual(load_config(doc), acmeconfig.loads(doc))
10
10 lines
PYTHON