for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
import os
import pytest
my_dir = os.path.dirname(os.path.realpath(__file__))
####### Files and folders
@pytest.fixture
def tests_root_dir():
return my_dir
def tests_data_root(tests_root_dir):
return os.path.join(tests_root_dir, 'dts')
def sample_json(tests_data_root):
return os.path.join(tests_data_root, 'sample-strains.jl')
def sample_collaped_json(tests_data_root):
return os.path.join(tests_data_root, 'sample-strains-colapsed.jl')