Example #1
0
    def test_get_long_version(self):
        """
        Application.get_long_version() returns the long version of the application
        """
        application = Application("foo", "bar")

        self.assertEqual("<info>foo</info> version <comment>bar</comment>", application.get_long_version())
Example #2
0
    def test_get_long_version(self):
        """
        Application.get_long_version() returns the long version of the application
        """
        application = Application('foo', 'bar')

        self.assertEqual('foo <info>bar</info>',
                         application.get_long_version())