예제 #1
0
 def test_filter_context_with_path(self):
     ctx = ContentFilterContext('foo/bar')
     self.assertEqual('foo/bar', ctx.relpath())
예제 #2
0
 def test_filter_context_with_path(self):
     ctx = ContentFilterContext('foo/bar')
     self.assertEquals('foo/bar', ctx.relpath())
예제 #3
0
 def test_empty_filter_context(self):
     ctx = ContentFilterContext()
     self.assertEqual(None, ctx.relpath())
예제 #4
0
 def test_empty_filter_context(self):
     ctx = ContentFilterContext()
     self.assertEqual(None, ctx.relpath())