def main():
    user_main = get_user_main()

    if not user_main and '--gevent' in sys.argv:
        apply_gevent_patch()

    if user_main:
        user_main()
    else:
        import seismograph

        seismograph.main(suites_path=get_suites_path())
Example #2
0
def main():
    user_main = get_user_main()

    if not user_main and '--gevent' in sys.argv:
        apply_gevent_patch()

    if user_main:
        user_main()
    else:
        import seismograph

        seismograph.main(suites_path=get_suites_path())
Example #3
0
import seismograph
from seismograph.ext import selenium

suite = selenium.Suite(__name__)


@suite.register
def my_first_test(case):
    case.assertion.equal(1, 1)


if __name__ == '__main__':
    seismograph.main()
Example #4
0
# -*- coding: utf-8 -*-
# #!/usr/bin/env python2

import seismograph
from tests import test_creation_post
from tests import test_group_settings
from tests import test_group_navigation

suites = [
    test_creation_post.suite,
    test_group_settings.suite,
    test_group_navigation.suite,
]
if __name__ == '__main__':
    seismograph.main(config_path='config.py', suites=suites)
Example #5
0
# -*- coding: utf-8 -*-

import seismograph

from tests import my_holidays

test_suites = [
    my_holidays.suite,
]

if __name__ == '__main__':
    seismograph.main(config_path="conf.base_config", suites=test_suites)