hi,
pyssh, pexpect, paramiko or creating your your own sockets. what do you
use to pythonically ssh to boxes?
--
John Maclean
MSc. (DIC) BSc. (Hons)
Linux Systems and Applications
07739 171 531
--
http://mail.python.org/mailman/listinfo/python-list
is there a way to test that a certian library or module is or can be
loaded successfully?
self.assert('import blah')
--
John Maclean
MSc. (DIC) BSc. (Hons)
Linux Systems and Applications
07739 171 531
--
http://mail.python.org/mailman/listinfo/python-list
hi,
can some one explain why the __first__ test is not being run?
#!/usr/bin/env python
import unittest # {{{
class T1TestCase(unittest.TestCase):
def setUp(self):
pass # can we use global variables here?
def tearDown(self):
pass # garbage collection
def
On 10/05/2010 14:38, J. Cliff Dyer wrote:
My guess is you mixed tabs and spaces. One tab is always treated by the
python interpreter as being equal to eight spaces, which is two
indentation levels in your code.
Though if it were exactly as you show it, you'd be getting a syntax
error, because
'''
self.assertEqual(s1.__class__, str)
if __name__ == __main__:
unittest.main()
--
John Maclean
07739 171 531
MSc (DIC)
Enterprise Linux Systems Engineer
--
http://mail.python.org/mailman/listinfo/python-list
On 14 April 2010 09:09, Gabriel Genellina gagsl-...@yahoo.com.ar wrote:
En Tue, 13 Apr 2010 11:01:19 -0300, John Maclean jaye...@gmail.com
escribió:
Is there an error in my syntax? Why is my test failing? Line 16.
==
FAIL
On 14 April 2010 16:22, Francisco Souza franci...@franciscosouza.net wrote:
On Wed, Apr 14, 2010 at 11:47 AM, john maclean jaye...@gmail.com wrote:
Can one use the setUp block to store variables so that they can be
used elsewhere in unit tests? I'm thinking that it's better to have
variables
Is there a code Dojo in London on Thurs? I've requested two places but
have not heard a reply yet.
--
John Maclean MSc. (DIC) Bsc. (Hons),Core Linux Systems Engineering,07739
171 531
--
http://mail.python.org/mailman/listinfo/python-list
'
--
Ran 1 test in 0.000s
FAILED (failures=1)
--
John Maclean MSc. (DIC) Bsc. (Hons),Core Linux Systems Engineering,07739
171 531
--
http://mail.python.org/mailman/listinfo/python-list
the hashlib
module instead
import sha
2010-02-25 01:20:10.483800: ERROR: Could not load the stocks from
/home/jmaclean/.gnome2/invest-applet/stocks.pickle: [Errno 2] No such
file or directory:
'/home/jmaclean/.gnome2/invest-applet/stocks.pickle'
You must run this application as root
--
John Maclean
07739
10 matches
Mail list logo