File: conftest.py

package info (click to toggle)
python-briefcase 0.3.22-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,300 kB
  • sloc: python: 59,405; makefile: 57
file content (11 lines) | stat: -rw-r--r-- 177 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
from unittest.mock import MagicMock

import git as git_
import pytest


@pytest.fixture
def mock_git():
    git = MagicMock(spec_set=git_)
    git.exc = git_.exc
    return git