def test_prefix_is_not_baseprefix(self): resp = main.detect_inside_virtualenv('prefix', None, 'other prefix') self.assertTrue(resp)
def test_prefix_is_baseprefix(self): resp = main.detect_inside_virtualenv('prefix', None, 'prefix') self.assertFalse(resp)
def test_have_realprefix(self): resp = main.detect_inside_virtualenv('prefix', 'real_prefix', 'base_prefix') self.assertTrue(resp)
def test_prefix_is_not_baseprefix(self): resp = main.detect_inside_virtualenv('prefix', None, 'other prefix') self.assertTrue(resp)
def test_prefix_is_baseprefix(self): resp = main.detect_inside_virtualenv('prefix', None, 'prefix') self.assertFalse(resp)
def test_have_realprefix(self): resp = main.detect_inside_virtualenv('prefix', 'real_prefix', 'base_prefix') self.assertTrue(resp)