Exemple #1
0
    def test_basic_is_host_test(self):
        self.assertFalse(is_host_test(''))
        self.assertFalse(is_host_test(None))

        self.assertTrue(is_host_test('default'))
        self.assertTrue(is_host_test('default_auto'))
Exemple #2
0
    def test_basic_is_host_test(self):
        self.assertFalse(is_host_test(""))
        self.assertFalse(is_host_test(None))

        self.assertTrue(is_host_test("default"))
        self.assertTrue(is_host_test("default_auto"))
Exemple #3
0
    def test_basic_is_host_test(self):
        self.assertEqual(False, is_host_test(""))
        self.assertEqual(False, is_host_test(None))

        self.assertEqual(True, is_host_test("default"))
        self.assertEqual(True, is_host_test("default_auto"))