def METHOD_NAME(self):  # this method runs skip conditions
    test_list = []
    base_cfg = self._quick_test_cfg()
    # The following sections of only_if and not_if consist of
    # permutations to check that all tests are skipped. These tests
    # check the logic of _match in different scenarios.
    # Test 1:
    # No matches for not_if but only_if 1/2 match.
    test_cfg = base_cfg.copy()
    test_cfg['not_if'] = {'{{dumb_user}}': ['bleh', 'notcalvin'],
                          '{{dumb_os}}': ['notbieb']}
    test_cfg['only_if'] = {'{{dumb_os}}': ['notbieber', 'bleh'],
                           '{{dumb_user}}': ['calvin']}
    test_list.append(test_cfg)
    # Test 2:
    # No not_if and only_if has 0/1 match.
    test_cfg = base_cfg.copy()
    test_cfg['not_if'] = {}
    test_cfg['only_if'] = {'{{dumb_user}}': ['nivlac', 'notcalvin']}
    test_list.append(test_cfg)
    # Test 3:
    # No only_if, not_if has a match.
    test_cfg = base_cfg.copy()
    test_cfg['not_if'] = {'{{dumb_user}}': ['notcalvin', '^[a-z]+$']}
    test_list.append(test_cfg)
    # Test 4:
    # Not_if has 1/2 match and only_if has 2/2 matches.
    test_cfg = base_cfg.copy()
    test_cfg['not_if'] = {'{{dumb_os}}': ['nivlac', 'notbieber'],
                          '{{dumb_user}}': ['calvin']}
    test_cfg['only_if'] = {'{{dumb_user}}': ['nivlac', 'calvin'],
                           '{{dumb_os}}': ['bieber']}
    test_list.append(test_cfg)
    # Test 5:
    # Not_if has a match and only_if is missing a match.
    test_cfg = base_cfg.copy()
    test_cfg['not_if'] = {'{{dumb_os}}': ['nivlac', 'notbieber', 'bieber']}
    test_cfg['only_if'] = {'{{dumb_user}}': ['nivlac', 'calvin'],
                           '{{dumb_os}}': ['notbieber']}
    test_list.append(test_cfg)
    # Run all 5 tests, all should have skip equal to true.
    for test_cfg in test_list:
        test = self._quick_test(cfg=test_cfg)
        self.assertTrue(test.skipped, msg="All tests should be skipped.")