On 15 March 2011 01:21, Vinay Shastry wrote:
> On 14 March 2011 17:21, Python User wrote:
>> Hi All,
>>
>> I have a plist file, test.plist, All I want is read the scriptNO tag value
>> 12345 and replace it with 67899. Can any one please help me out for
>> this. The file content is
>>
>>
>> > htt
On 14 March 2011 17:21, Python User wrote:
> Hi All,
>
> I have a plist file, test.plist, All I want is read the scriptNO tag value
> 12345 and replace it with 67899. Can any one please help me out for
> this. The file content is
>
>
> http://www.test.com/DTDs/PropertyList-1.0.dtd";>
>
>
>
>
On Mon, Mar 14, 2011 at 05:32:16AM -0700, Noufal Ibrahim wrote:
> It's probably just my personal preference but I'd like a few
> functions like.
>
Yeah, that's perfectly fine and +1 to that.
--
Senthil
___
BangPypers mailing list
BangPypers@python.org
On Mon, Mar 14 2011, Senthil Kumaran wrote:
[...]
>> This whole XUnit style unit testing thing is not really necessary in
>> the Python world.
>
> Why? It is very much part of python world. It is part of the stdlib,
> because it is so easy to use.
There are lots of libraries in the standard li
Agree Noufal,
But we already have a framework using unittest2 in my product
(organization), its working perfectly fine for our requirements.
Nitin K
On Mon, Mar 14, 2011 at 4:54 PM, Noufal Ibrahim wrote:
> On Mon, Mar 14 2011, Nitin Kumar wrote:
>
> [...]
>
> > I used this way as explained by y
On Mon, Mar 14, 2011 at 04:24:49AM -0700, Noufal Ibrahim wrote:
> Why don't you consider using an alternate test runner like nose or
> py.test?
When I first started using with Linux, it was quite common to hear
"Gentoo is great", "Debian the real distro", you should use that
instead of Mandrake/Re
Hi All,
I have a plist file, test.plist, All I want is read the scriptNO tag value
12345 and replace it with 67899. Can any one please help me out for
this. The file content is
http://www.test.com/DTDs/PropertyList-1.0.dtd";>
command
GetTestScriptData
comments
Get Test Script
opParam
scriptN
On Mon, Mar 14 2011, Nitin Kumar wrote:
[...]
> I used this way as explained by you, still getting the same error.
[...]
Why don't you consider using an alternate test runner like nose or
py.test? This whole XUnit style unit testing thing is not really
necessary in the Python world. You just ne
On Mon, Mar 14, 2011 at 3:00 PM, Nitin Kumar wrote:
> I used this way as explained by you, still getting the same error.
>
What version of python are you using?
Here is the code I tried and it works fine with python 2.6.5 and unittest2
0.5.1.
#!/usr/bin/env python
import unittest2
class Tes
Hi,
I'm writing on behalf of Alokin Software Pvt Ltd based at Technopark
Trivandrum.
We are looking for some candidates with strong skills in Python,
Django development on a Linux platform. Preferable additional skills:
frontend stuff (HTML/CSS/Javascript), knowledge of system
administration task
On Mon, Mar 14, 2011 at 03:00:01PM +0530, Nitin Kumar wrote:
> Hi Navin,
> I can't use setUp as this will be called every time for each test cases, I
> thought of using setUpClass decorator but there i can define self.
>
> import unittest2
> class XMLSupport(unittest2.TestCase):
> def __in
Hi Navin,
I can't use setUp as this will be called every time for each test cases, I
thought of using setUpClass decorator but there i can define self.
import unittest2
class XMLSupport(unittest2.TestCase):
def __init__(self):
super(XMLSupport,self).__init__(*args, **kwarg
On Mon, Mar 14, 2011 at 1:56 PM, Nitin Kumar wrote:
> See below small example. I am trying to have one constructor for a class
> with unittest inherited.
Avoid overriding the constructor of TestCase. That is not recommended.
> self.x = 3
Put this is "setUp" instead of the co
Hi All,
See below small example. I am trying to have one constructor for a class
with unittest inherited. But with any of the permutation combination I am
getting the error.
Any idea for reason behind this??
import unittest2
class XMLSupport(unittest2.TestCase):
def __init__(self):
14 matches
Mail list logo