skyhit / mm-test

0 stars 0 forks source link

Test Example' passes when we use different class name as indicated by using python language #170

Open sdgun opened 10 years ago

sdgun commented 10 years ago

Description

Test Example' passes when we use different class name as indicated by using python language

Steps

Go to : https://qa.arena.topcoder.com/longcontest/?module=ViewActiveContests In the Table Click 'Register/Submit' Login Using a valid user Click 'Agree'

Enter Python Code

class Test def createVM(self, name): self.name=name def stateVM(self): print('Your VMname is %s' % self.name) print('Another Way to print the string from the method ' + self.name) return(self.name)

firstHost = VMname() firstHost.createVM('email.foo.org') Hname1 = firstHost.stateVM() print('A third way to print your 1st VM ' + str(Hname1))

secondHost = VMname() secondHost.createVM('ldap.bar.org') Hname2 = secondHost.stateVM() print('A third way to print your 2nd VM ' + str(Hname2))

Select : Python from the language Click Test Examples Check the Result

Expected Result

Must fix the Issue.

Test Passes

Environment

IE 11, Safari 5.1.7, Chrome 37.0.2062.102 m and FF 32.0.2 in Windows 7

Image

24

Bug Hunt

Marathon Match Web Interface QA For 201410 Release