Searched refs:getvalue (Results 1 - 10 of 10) sorted by relevance

/pkg/src/tests/api/
H A Dt_client.py83 self.assertEqual(info_out.getvalue(), "INFO\n")
84 self.assertEqual(error_out.getvalue(),
91 self.assertEqual(info_out.getvalue(), "DEBUG\n")
H A Dt_printengine.py73 self.assertTrue(len(sio.getvalue()) > 0)
91 self.assertTrue(len(sio.getvalue()) > 0)
97 self.assertTrue(len(sio.getvalue()) > 0)
H A Dt_progress.py320 self.assertTrue(len(sio_c.getvalue()) > 100)
321 self.assertTrue(len(sio_c2.getvalue()) > 100)
322 self.assertTrue(len(sio_f.getvalue()) > 100)
323 self.assertTrue(len(sio_d.getvalue()) > 1)
326 len(sio_d.getvalue()) * "." == sio_d.getvalue())
405 self.assertTrue(len(sio1.getvalue()) > 100)
406 self.assertTrue(len(sio2.getvalue()) > 100)
407 self.assertEqual(sio1.getvalue(), sio2.getvalue())
[all...]
/pkg/src/modules/
H A Dcfgfiles.py120 def getvalue(self, template): member in class:CfgFile
246 def getvalue(self, template): member in class:PasswordFile
248 c = self.password_file.getvalue(template).copy()
249 c.update(self.shadow_file.getvalue(template))
296 return self.getvalue({"username" : username})
338 group = self.getvalue({"groupname": groupname})
355 group = self.getvalue({"groupname": groupname})
403 return not 'username' in self.getvalue({"username" : username})
/pkg/src/modules/actions/
H A Dgroup.py83 cur_attrs = gr.getvalue(template)
166 cur_attrs = gr.getvalue(self.attrs)
/pkg/src/modules/client/
H A Dprintengine.py234 lines = self._stringio.getvalue().splitlines(True)
248 val = self._stringio.getvalue()
/pkg/src/modules/server/
H A Ddepot.py1321 return misc.force_bytes(buf.getvalue())
1357 return buf.getvalue()
1402 return buf.getvalue()
H A Dapi.py584 text = s.getvalue()
/pkg/src/modules/client/transport/
H A Dtransport.py1155 content = s.getvalue()
/pkg/src/tests/
H A Dpkg5unittest.py1600 otw.text = buf.getvalue()

Completed in 49 milliseconds