This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import logging | |
| import logging.config | |
| import aiohttp_cors | |
| | |
| from aiohttp import web | |
| from tart_test.helpers import config | |
| from tartiflette_aiohttp import register_graphql_handlers | |
| | |
| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import pytest | |
| from unittest import mock | |
| @pytest.fixture(autouse=True) | |
| def mock_boto(): | |
| # change to the directory where boto3 is being called | |
| with mock.patch("reward.lib.aws.boto3") as mocked: | |
| yield mocked |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # example ci/cd file for gitlab ci/cd w/ poetry | |
| # this file will run tests on merge and will bump | |
| # the version on commit to master using go-semrel | |
| # go-semrel commits will trigger a final test for | |
| # the code coverage pipeline. this file ensures | |
| # both the pipeline badge and coverage badge are | |
| # populated and that the pyproject.toml file is | |
| # bumped as well | |
| stages: | |
| - test |
OlderNewer