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