def test_filter_context_with_path(self): ctx = ContentFilterContext('foo/bar') self.assertEqual('foo/bar', ctx.relpath())
def test_filter_context_with_path(self): ctx = ContentFilterContext('foo/bar') self.assertEquals('foo/bar', ctx.relpath())
def test_empty_filter_context(self): ctx = ContentFilterContext() self.assertEqual(None, ctx.relpath())
def test_empty_filter_context(self): ctx = ContentFilterContext() self.assertEqual(None, ctx.relpath())