コード例 #1
0
    def test_clearData(self):
        KujiUtil.updateMemberJp(1, 1)
        KujiUtil.clearData()
        assert KujiUtil.canDrawJp(1)

        KujiUtil.updateMemberCn(1, 1, 2)
        assert not KujiUtil.canDrawCn(1)
コード例 #2
0
 async def clear_db(self, ctx: commands.Command, *argv):
     KujiUtil.clearData()