File: conftest.py

package info (click to toggle)
python-briefcase 0.3.25-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,596 kB
  • sloc: python: 62,519; makefile: 60
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