def test_email_address(self): self.assertEqual('Email to foo.bar@somewhere', make_bugtracker_title('mailto:[email protected]'))
def test_email_address(self): self.assertEquals( 'Email to foo.bar@somewhere', make_bugtracker_title('mailto:[email protected]'))
def test_url(self): self.assertEqual( 'bugs.example.com/shrubbery', make_bugtracker_title('http://bugs.example.com/shrubbery'))
def test_url(self): self.assertEquals( 'bugs.example.com/shrubbery', make_bugtracker_title('http://bugs.example.com/shrubbery'))