Esempio n. 1
0
 def test_not_fully_quoted(self):
     self.assertEqual(is_fully_quoted('foo&bar'), False)
     self.assertEqual(is_fully_quoted('foo\\&bar\\'), False)
Esempio n. 2
0
 def test_fully_quoted(self):
     self.assertEqual(is_fully_quoted('foo\\ bar\\"baz\\&'), True)
     self.assertEqual(is_fully_quoted('foo\\ bar\\"baz\\\\'), True)