Example #1
0
def pytest_configure():
    configure()
    import coredb.signals.runs  # noqa
    from polycommon import conf
    from coredb import operations

    conf.validate_and_setup()
    operations.validate_and_setup()
    import polycommon.options.conf_subscriptions  # noqa
Example #2
0
    def ready(self):
        import coredb.signals.runs  # noqa

        from coredb import executor, operations
        from polycommon import conf
        from polycommon import auditor

        conf.validate_and_setup()
        operations.validate_and_setup()
        executor.validate_and_setup()
        auditor.validate_and_setup()

        import polycommon.options.conf_subscriptions  # noqa
        from polycommon.events import auditor_subscriptions  # noqa
Example #3
0
    def ready(self):
        from polycommon import conf
        from polycommon import auditor
        from coredb import executor, operations
        from polycommon import query

        conf.validate_and_setup()
        query.validate_and_setup()
        operations.validate_and_setup()
        executor.validate_and_setup()
        auditor.validate_and_setup()

        import coredb.signals.runs  # noqa

        import polycommon.options.conf_subscriptions  # noqa
        from polycommon.events import auditor_subscriptions  # noqa
        from coredb.administration import register  # noqa
Example #4
0
 def setUp(self):
     super().setUp()
     conf.validate_and_setup()
     # load subscriptions
     import polycommon.options.conf_subscriptions  # noqa