

def test_is_sys_or_user_meta(self):
    m_types = ['sysmeta', 'meta']
    for mt in m_types:
        for st in server_types:
            self.assertTrue(is_sys_or_user_meta(st, ('x-%s-%s-foo' % (st, m_types))))
            self.assertFalse(is_sys_or_user_meta(st, ('x-%s-%s-' % (st, mt))))
            self.assertFalse(is_sys_or_user_meta(st, ('x-%s-%sfoo' % (st, mt))))

dataset/ETHPy150Open openstack/swift/test/unit/common/test_request_helpers.py TestRequestHelpers.test_is_sys_or_user_meta/VarMisuse@46/77 `mt`->`m_types`