This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author antlong
Recipients antlong
Date 2010-08-13.18:05:28
SpamBayes Score 2.3695311e-05
Marked as misclassified No
Message-id <1281722729.75.0.301168748146.issue9590@psf.upfronthosting.co.za>
In-reply-to
Content
import unittest
from selenium import selenium


class SetupSomething(unittest.TestCase):

    def setUp(self, URL):

        self.selenium = selenium("localhost", 4444, "*firefox", self.URL)
        

    def tearDown(self):
        pass


class TestSomething(SetupSomething):
    def __init__():
        print "bug."
    
    def setUp(self):
        self.URL = "http://google.com/"

    def tearDown(self):
        pass

    def test_tester(self):
        self.selenium.open('/')
        print "no"
        


unittest.main()

----
TypeError: '__init__() takes no arguments (2 given)'
History
Date User Action Args
2010-08-13 18:05:29antlongsetrecipients: + antlong
2010-08-13 18:05:29antlongsetmessageid: <1281722729.75.0.301168748146.issue9590@psf.upfronthosting.co.za>
2010-08-13 18:05:28antlonglinkissue9590 messages
2010-08-13 18:05:28antlongcreate