• Home
  • Raw
  • Download

Lines Matching refs:assertEqual

15         self.assertEqual(macpath.abspath("xx:yy"), "xx:yy")
37 self.assertEqual(split("foo:bar"),
39 self.assertEqual(split("conky:mountpoint:foo:bar"),
42 self.assertEqual(split(":"), ('', ''))
43 self.assertEqual(split(":conky:mountpoint:"),
46 self.assertEqual(split(b"foo:bar"),
48 self.assertEqual(split(b"conky:mountpoint:foo:bar"),
51 self.assertEqual(split(b":"), (b'', b''))
52 self.assertEqual(split(b":conky:mountpoint:"),
57 self.assertEqual(join('a', 'b'), ':a:b')
58 self.assertEqual(join(':a', 'b'), ':a:b')
59 self.assertEqual(join(':a:', 'b'), ':a:b')
60 self.assertEqual(join(':a::', 'b'), ':a::b')
61 self.assertEqual(join(':a', '::b'), ':a::b')
62 self.assertEqual(join('a', ':'), ':a:')
63 self.assertEqual(join('a:', ':'), 'a:')
64 self.assertEqual(join('a', ''), ':a:')
65 self.assertEqual(join('a:', ''), 'a:')
66 self.assertEqual(join('', ''), '')
67 self.assertEqual(join('', 'a:b'), 'a:b')
68 self.assertEqual(join('', 'a', 'b'), ':a:b')
69 self.assertEqual(join('a:b', 'c'), 'a:b:c')
70 self.assertEqual(join('a:b', ':c'), 'a:b:c')
71 self.assertEqual(join('a', ':b', ':c'), ':a:b:c')
72 self.assertEqual(join('a', 'b:'), 'b:')
73 self.assertEqual(join('a:', 'b:'), 'b:')
75 self.assertEqual(join(b'a', b'b'), b':a:b')
76 self.assertEqual(join(b':a', b'b'), b':a:b')
77 self.assertEqual(join(b':a:', b'b'), b':a:b')
78 self.assertEqual(join(b':a::', b'b'), b':a::b')
79 self.assertEqual(join(b':a', b'::b'), b':a::b')
80 self.assertEqual(join(b'a', b':'), b':a:')
81 self.assertEqual(join(b'a:', b':'), b'a:')
82 self.assertEqual(join(b'a', b''), b':a:')
83 self.assertEqual(join(b'a:', b''), b'a:')
84 self.assertEqual(join(b'', b''), b'')
85 self.assertEqual(join(b'', b'a:b'), b'a:b')
86 self.assertEqual(join(b'', b'a', b'b'), b':a:b')
87 self.assertEqual(join(b'a:b', b'c'), b'a:b:c')
88 self.assertEqual(join(b'a:b', b':c'), b'a:b:c')
89 self.assertEqual(join(b'a', b':b', b':c'), b':a:b:c')
90 self.assertEqual(join(b'a', b'b:'), b'b:')
91 self.assertEqual(join(b'a:', b'b:'), b'b:')
95 self.assertEqual(splitext(":foo.ext"), (':foo', '.ext'))
96 self.assertEqual(splitext("foo:foo.ext"), ('foo:foo', '.ext'))
97 self.assertEqual(splitext(".ext"), ('.ext', ''))
98 self.assertEqual(splitext("foo.ext:foo"), ('foo.ext:foo', ''))
99 self.assertEqual(splitext(":foo.ext:"), (':foo.ext:', ''))
100 self.assertEqual(splitext(""), ('', ''))
101 self.assertEqual(splitext("foo.bar.ext"), ('foo.bar', '.ext'))
103 self.assertEqual(splitext(b":foo.ext"), (b':foo', b'.ext'))
104 self.assertEqual(splitext(b"foo:foo.ext"), (b'foo:foo', b'.ext'))
105 self.assertEqual(splitext(b".ext"), (b'.ext', b''))
106 self.assertEqual(splitext(b"foo.ext:foo"), (b'foo.ext:foo', b''))
107 self.assertEqual(splitext(b":foo.ext:"), (b':foo.ext:', b''))
108 self.assertEqual(splitext(b""), (b'', b''))
109 self.assertEqual(splitext(b"foo.bar.ext"), (b'foo.bar', b'.ext'))
113 self.assertEqual(ismount("a:"), True)
114 self.assertEqual(ismount("a:b"), False)
115 self.assertEqual(ismount("a:b:"), True)
116 self.assertEqual(ismount(""), False)
117 self.assertEqual(ismount(":"), False)
119 self.assertEqual(ismount(b"a:"), True)
120 self.assertEqual(ismount(b"a:b"), False)
121 self.assertEqual(ismount(b"a:b:"), True)
122 self.assertEqual(ismount(b""), False)
123 self.assertEqual(ismount(b":"), False)
127 self.assertEqual(normpath("a:b"), "a:b")
128 self.assertEqual(normpath("a"), ":a")
129 self.assertEqual(normpath("a:b::c"), "a:c")
130 self.assertEqual(normpath("a:b:c:::d"), "a:d")
133 self.assertEqual(normpath(":"), ":")
134 self.assertEqual(normpath("a:"), "a:")
135 self.assertEqual(normpath("a:b:"), "a:b")
137 self.assertEqual(normpath(b"a:b"), b"a:b")
138 self.assertEqual(normpath(b"a"), b":a")
139 self.assertEqual(normpath(b"a:b::c"), b"a:c")
140 self.assertEqual(normpath(b"a:b:c:::d"), b"a:d")
143 self.assertEqual(normpath(b":"), b":")
144 self.assertEqual(normpath(b"a:"), b"a:")
145 self.assertEqual(normpath(b"a:b:"), b"a:b")