1
0
mirror of synced 2026-01-31 10:02:01 -05:00
Files
airbyte/airbyte-integrations/bases/source-acceptance-test/source_acceptance_test/base.py
Alexandre Girard 3894134d11 Bump year in license short to 2022 (#13191)
* Bump to 2022

* format
2022-05-25 17:56:49 -07:00

19 lines
450 B
Python

#
# Copyright (c) 2022 Airbyte, Inc., all rights reserved.
#
import inflection
import pytest
@pytest.mark.usefixtures("inputs")
class BaseTest:
@classmethod
def config_key(cls):
"""Name of the test in configuration file, used to override test inputs,"""
class_name = cls.__name__
if class_name.startswith("Test"):
class_name = class_name[len("Test") :]
return inflection.underscore(class_name)