for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
conftest
--------
Contains pytest fixtures which are globally available throughout the suite.
import os
import pytest
@pytest.fixture(scope='function', autouse=True)
def global_setup(tmpdir, monkeypatch):
home = tmpdir.mkdir('home')
monkeypatch.setenv('HOME', home)
def change_directory(tmpdir):
os.chdir(str(tmpdir))