Lines Matching refs:set_content
119 self.m1.set_content(self.m1_contents)
134 # Verify set_content with a byte string with unicode data
138 m.set_content(bstr)
143 # Verify set_content with a Unicode string works.
146 m.set_content(six.text_type(bstr, "utf-8"))
148 m.set_content(bstr)
156 m.set_content(self.diverse_contents)
178 self.m1.set_content(self.m1_contents)
179 self.m2.set_content(self.m2_contents)
183 self.m1.set_content(self.m1_contents)
184 self.m2.set_content(self.m2_contents)
193 self.m1.set_content(self.diverse_contents)
194 self.m2.set_content(self.diverse_contents)
205 self.m2.set_content(self.m2_contents)
214 mtmp.set_content(new_contents)
222 self.m1.set_content(self.m4_contents)
223 self.m2.set_content(self.m5_contents)
233 self.m1.set_content(
235 self.m2.set_content(
256 self.m1.set_content("""
263 self.m2.set_content("""
283 self.m1.set_content("""
287 self.m2.set_content("""
304 self.m1.set_content(self.diverse_contents)
305 self.m2.set_content("")
328 self.m1.set_content("""
332 self.m2.set_content("""
356 self.m1.set_content("""\
378 self.m1.set_content, "foobar 1234 owner=root")
381 self.m1.set_content, "file 1234 path=foo bar")
384 self.m1.set_content, "file 1234 path=\"foo bar")
387 self.m1.set_content, "file 1234 =")
392 self.m2.set_content(self.m2_contents, signatures=True)
395 self.m2.set_content(self.diverse_contents, signatures=True)
404 m1.set_content(bstr, signatures=True)
409 m2.set_content(six.text_type(bstr, "utf-8"), signatures=True)
411 m2.set_content(bstr, signatures=True)