Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78669
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Subject | Re: How to set the global variable so that it can be accessed and released inside other methods |
| Date | 2014-10-03 22:55 +0100 |
| References | <3bb9f56c-eff3-472e-8239-58b58cdb16be@googlegroups.com> <4a73c7f7-b221-47da-83fc-8547a4f3d110@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14587.1412373388.18130.python-list@python.org> (permalink) |
On 03/10/2014 22:43, Milson Munakami wrote: > Hi Chris, > I want to remove that CreateNet() part from the test class so that it will not create network every time in setup() because all the test cases are run and tested in same network! > > But the test class method also need to access the net object > > How can I do that? > > Please Help. > Thanks, > Milson You are far more likely to get answers if you don't top post and if you don't use the obnoxious google groups. I've snipped roughly 600 lines from your reply. To avoid sending the rubbish that many of us here don't want to see would you please access this list via https://mail.python.org/mailman/listinfo/python-list or read and action this https://wiki.python.org/moin/GoogleGroupsPython to prevent us seeing double line spacing and single line paragraphs, thanks. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
How to set the global variable so that it can be accessed and released inside other methods Milson Munakami <milsonmun@gmail.com> - 2014-10-02 08:29 -0700
Re: How to set the global variable so that it can be accessed and released inside other methods Chris Angelico <rosuav@gmail.com> - 2014-10-03 01:34 +1000
Re: How to set the global variable so that it can be accessed and released inside other methods Milson Munakami <milsonmun@gmail.com> - 2014-10-03 14:43 -0700
Re: How to set the global variable so that it can be accessed and released inside other methods Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-10-03 22:55 +0100
csiph-web