Slide 13
Slide 13 text
def test_subscription_is_active_with_single_entry(self):
# ਖ਼ৗܥ:αϒεΫϦϓγϣϯ͕ACTIVEͭ1݅ͷ࣌
request_value = {
...
}
rs = ...,
ɹwith self.app.app_context():
# ਖ਼ৗܥ
result = self.interactor.handle(
request=request_value["request"],
_txs=request_value["transaction"],
)
# ฦΓ͕True͔Ͳ͏͔ΛνΣοΫ
self.assertEqual(...)
self.assertEqual(...)
def test_subscription_is_active_with_single_entry(self):
# ਖ਼ৗܥ:αϒεΫϦϓγϣϯ͕ACTIVEͭ2݅Ҏ্ͷ࣌
...
UsecaseͷςετͰ
େ͖ͳҧ͍͕
ͪ͜ΒͰςετέʔε͝ͱ
ʹϝιουΛ͚͍ͯΔ