예제 #1
0
    def test_print_about_success(self):
        about = '''Version: %s
Geeknote - a command line client for Evernote.
Use geeknote --help to read documentation.\n''' % __version__
        printAbout()
        sys.stdout.seek(0)
        self.assertEquals(sys.stdout.read(), about)
예제 #2
0
    def test_print_about_success(self):
        about = '''Version: %s
Geeknote - a command line client for Evernote.
Use geeknote --help to read documentation.\n''' % __version__
        printAbout()
        sys.stdout.seek(0)
        self.assertEquals(sys.stdout.read(), about)
예제 #3
0
    def test_print_about_success(self):
        about = '''Version: %s
Geeknote - a command line client for Evernote.
Use geeknote --help to read documentation.
And visit www.geeknote.me to check for updates.\n''' % VERSION
        printAbout()
        sys.stdout.seek(0)
        self.assertEquals(sys.stdout.read(), about)
예제 #4
0
파일: outTest.py 프로젝트: DerekV/geeknote
    def test_print_about_success(self):
        about = '''Version: %s
Geeknote - a command line client for Evernote.
Use geeknote --help to read documentation.
And visit www.geeknote.me to check for updates.\n''' % VERSION
        printAbout()
        sys.stdout.seek(0)
        self.assertEquals(sys.stdout.read(), about)