# -*- coding: utf-8 -*-

import unittest2

from os import path
from sys import stdout


def get_suite():
    disc_folder = path.abspath(path.dirname(__file__))

    stdout.write("Discovering tests in '%s'..." % disc_folder)
    suite = unittest2.TestSuite()
    loader = unittest2.loader.defaultTestLoader
    suite.addTest(loader.discover(disc_folder, pattern="test*.py"))
    stdout.write("Done.\n")
    return suite


def run_tests():
    suite = get_suite()
    stdout.write("Running tests...\n")
    runner = unittest2.TextTestRunner()
    runner.verbosity = 2
    runner.run(suite.run)


if __name__ == "__main__":
    run_tests()

1c3bee0d5e86ab91c003faf535ee4190a4db0497
<mask token>

<mask token>


def get_suite():
    disc_folder = path.abspath(path.dirname(__file__))
    stdout.write("Discovering tests in '%s'..." % disc_folder)
    suite = unittest2.TestSuite()
    loader = unittest2.loader.defaultTestLoader
    suite.addTest(loader.discover(disc_folder, pattern='test*.py'))
    stdout.write('Done.\n')
    return suite


def run_tests():
    suite = get_suite()
    stdout.write('Running tests...\n')
    runner = unittest2.TextTestRunner()
    runner.verbosity = 2
    runner.run(suite.run)


<mask token>

<mask token>


def get_suite():
    disc_folder = path.abspath(path.dirname(__file__))
    stdout.write("Discovering tests in '%s'..." % disc_folder)
    suite = unittest2.TestSuite()
    loader = unittest2.loader.defaultTestLoader
    suite.addTest(loader.discover(disc_folder, pattern='test*.py'))
    stdout.write('Done.\n')
    return suite


def run_tests():
    suite = get_suite()
    stdout.write('Running tests...\n')
    runner = unittest2.TextTestRunner()
    runner.verbosity = 2
    runner.run(suite.run)


if __name__ == '__main__':
    run_tests()

import unittest2
from os import path
from sys import stdout


def get_suite():
    disc_folder = path.abspath(path.dirname(__file__))
    stdout.write("Discovering tests in '%s'..." % disc_folder)
    suite = unittest2.TestSuite()
    loader = unittest2.loader.defaultTestLoader
    suite.addTest(loader.discover(disc_folder, pattern='test*.py'))
    stdout.write('Done.\n')
    return suite


def run_tests():
    suite = get_suite()
    stdout.write('Running tests...\n')
    runner = unittest2.TextTestRunner()
    runner.verbosity = 2
    runner.run(suite.run)


if __name__ == '__main__':
    run_tests()

# -*- coding: utf-8 -*-

import unittest2

from os import path
from sys import stdout


def get_suite():
    disc_folder = path.abspath(path.dirname(__file__))

    stdout.write("Discovering tests in '%s'..." % disc_folder)
    suite = unittest2.TestSuite()
    loader = unittest2.loader.defaultTestLoader
    suite.addTest(loader.discover(disc_folder, pattern="test*.py"))
    stdout.write("Done.\n")
    return suite


def run_tests():
    suite = get_suite()
    stdout.write("Running tests...\n")
    runner = unittest2.TextTestRunner()
    runner.verbosity = 2
    runner.run(suite.run)


if __name__ == "__main__":
    run_tests()
