Option C Tools
Loading...
Searching...
No Matches
conftest.py File Reference

Go to the source code of this file.

Namespaces

namespace  tests_git
namespace  tests_git.conftest

Functions

bool tests_git.conftest._git_available ()
subprocess.CompletedProcess tests_git.conftest._git (Path repo, *str args, bool check=True)
None tests_git.conftest.commit_file (Path repo, str name, str content, str message="add file")
Path tests_git.conftest.temp_git_project (Path tmp_path)
 tests_git.conftest.make_compliant_py (Path temp_git_project)
 tests_git.conftest.make_noncompliant_py (Path temp_git_project)

Variables

 tests_git.conftest._COMPLIANT_TEMPLATE = textwrap.dedent()
 tests_git.conftest._NONCOMPLIANT_MISSING_HEADER = textwrap.dedent()
 tests_git.conftest._NONCOMPLIANT_MISSING_DOCSTRING = textwrap.dedent()
 tests_git.conftest._NONCOMPLIANT_HARDCODED_SECRET = textwrap.dedent()
 tests_git.conftest._NONCOMPLIANT_FORMAT_ERROR = textwrap.dedent()