Lines Matching refs:to_string
89 self.assertEqual(a.to_string(), "")
91 self.assertEqual(a.to_string(), "")
93 self.assertEqual(a.to_string(), "~ 1234")
95 self.assertEqual(a.to_string(), "1234")
97 self.assertEqual(a.to_string(), "{ 1234 2345 }")
99 self.assertEqual(a.to_string(), "~ { 1234 2345 }")
101 self.assertEqual(a.to_string(), "~ { 42-64 1234 2345 }")
103 self.assertEqual(a.to_string(), "{ 42-64 1234 2345 }")
122 self.assertEqual(sc.to_string(default_level="s1"), context + ":s1")
132 self.assertEqual(sc.to_string(), context)
168 self.assertEqual(a.to_string(), "allow foo_t bar_t:file read;")
176 a = a.to_string().split(' ')
247 a.xperms.to_string = lambda: "seventh"
249 self.assertEqual(a.to_string(),
267 self.assertEqual(a.to_string(), "type_transition foo_t bar_exec_t:process bar_t;")