[Tutor] About Using timeout Mark in Pytest

2016-08-20 Thread Michelle Meiduo Wu
Hi there, I'd like to use @pytest. mark.timeout in pytest test in Windows. But if one of test cases is timeout, then the following test cases will stop. Is there anybody know how to continue to run the following test cases if a test case is timeout? Thank you in advance. Michelle

[Tutor] About using list in a function

2015-08-19 Thread Michelle Meiduo Wu
Hi there, I'm trying to use List in a function. But it doesn't work. Here are sample code not work: ---def getResult():ls = [] ls= ls.append(100)ls= ls.append(200) return ls reList = []reList = getResult()lsLength = len(reList)print '\n The

Re: [Tutor] About Python Module to Process Bytes

2015-08-05 Thread Michelle Meiduo Wu
I think this works for me! Thanks a lot,Michelle From: d...@hashcollision.org Date: Tue, 4 Aug 2015 12:12:20 -0700 Subject: Re: [Tutor] About Python Module to Process Bytes To: wum...@hotmail.com CC: tutor@python.org On Tue, Aug 4, 2015 at 9:26 AM, Michelle Meiduo Wu wum...@hotmail.com

[Tutor] About Python Module to Process Bytes

2015-08-04 Thread Michelle Meiduo Wu
Hi there, I'd like to find some python module to easily process bytes array data, like encoding different types of data (char, long, short, float, etc) into a same bytes array. I checked Python built-in library and there are bytes and bytearray types which don't provide enough functions for

Re: [Tutor] Access HBase

2015-07-13 Thread Michelle Meiduo Wu
In a message of Sat, 11 Jul 2015 23:46:56 -0400, Michelle Meiduo Wu writes: Thanks a lot! Do you know anything about HappyBase compared with Jython? Best, Michelle I don't know anything at all about HappyBase, and next to nothing about Hadoop. But I know quite a bit about Jython

Re: [Tutor] Access HBase

2015-07-12 Thread Michelle Meiduo Wu
-0400, Michelle Meiduo Wu writes: Hi there, I'm just starting to use Python. I'd like to ask which Library is good for Python to access HBASE? Besides Happybase and Python HBase, is there any other one? Which is more robotic and better functional? Any advice would be greatly appreciated

[Tutor] Access HBase

2015-07-11 Thread Michelle Meiduo Wu
Hi there, I'm just starting to use Python. I'd like to ask which Library is good for Python to access HBASE? Besides Happybase and Python HBase, is there any other one? Which is more robotic and better functional? Any advice would be greatly appreciated. Thank you, Michelle

Re: [Tutor] PythonPytest

2015-06-12 Thread Michelle Meiduo Wu
Yes, I also found Py.test is a good testing framework for automation testing. Another one is Robot testing framework. It's also a testing framework based on Python Unittest framework. Hard to pick one to use:) Thank you,Michelle To: alan.ga...@btinternet.com From: l...@openend.se Date:

[Tutor] PythonPytest

2015-06-11 Thread Michelle Meiduo Wu
Hi there, I'm looking for a language to write test scripts for our application. I read some document and found Pytest can be used to write simpler code compared with using unittest in Python. Does anybody know what's other pros and cons of using these two for writing test scripts? Thank