Пример #1
0
    def test_run_checks_true(self):
        m_run = FirstTimeRun()
        m_run.add_check(self.fake_check_true)

        self.assertTrue(m_run._run_checks())
Пример #2
0
    def test_run_checks_false(self):
        m_run = FirstTimeRun()
        m_run.add_check(self.fake_check_false)

        self.assertFalse(m_run._run_checks())