
from os import path
from glob import glob

import pytest

import masterfile

# EXAMPLE_PATH =
# GOOD_PATH =
# GOOD_CSVS = glob(path.join(GOOD_PATH, '*csv'))
# PROBLEMS_PATH = path.join(EXAMPLE_PATH, 'problems')


@pytest.fixture
def example_path():
    return path.join(path.dirname(path.abspath(__file__)), 'examples')


@pytest.fixture
def good_path():
    return path.join(example_path(), 'good')


@pytest.fixture
def good_csvs():
    return glob(path.join(good_path(), '*csv'))


@pytest.fixture
def problems_path():
    return path.join(example_path(), 'problems')


@pytest.fixture
def good_mf():
    return masterfile.load(good_path())


@pytest.fixture
def nosettings_mf():
    return masterfile.load(example_path())


@pytest.fixture
def problems_mf():
    return masterfile.load(problems_path())


from os import path
from glob import glob

import pytest

import masterfile

# EXAMPLE_PATH =
# GOOD_PATH =
# GOOD_CSVS = glob(path.join(GOOD_PATH, '*csv'))
# PROBLEMS_PATH = path.join(EXAMPLE_PATH, 'problems')


@pytest.fixture()
def example_path():
    return path.join(path.dirname(path.abspath(__file__)), 'examples')


@pytest.fixture()
def good_path():
    return path.join(example_path(), 'good')


@pytest.fixture()
def good_csvs():
    return glob(path.join(good_path(), '*csv'))


@pytest.fixture()
def problems_path():
    return path.join(example_path(), 'problems')


@pytest.fixture()
def good_mf():
    return masterfile.load(good_path())


@pytest.fixture()
def nosettings_mf():
    return masterfile.load(example_path())


@pytest.fixture()
def problems_mf():
    return masterfile.load(problems_path())

Add () to fixture definitions
Add () to fixture definitions
  
  from os import path
  from glob import glob
  
  import pytest
  
  import masterfile
  
  # EXAMPLE_PATH =
  # GOOD_PATH =
  # GOOD_CSVS = glob(path.join(GOOD_PATH, '*csv'))
  # PROBLEMS_PATH = path.join(EXAMPLE_PATH, 'problems')
  
  
- @pytest.fixture
+ @pytest.fixture()
  def example_path():
      return path.join(path.dirname(path.abspath(__file__)), 'examples')
  
  
- @pytest.fixture
+ @pytest.fixture()
  def good_path():
      return path.join(example_path(), 'good')
  
  
- @pytest.fixture
+ @pytest.fixture()
  def good_csvs():
      return glob(path.join(good_path(), '*csv'))
  
  
- @pytest.fixture
+ @pytest.fixture()
  def problems_path():
      return path.join(example_path(), 'problems')
  
  
- @pytest.fixture
+ @pytest.fixture()
  def good_mf():
      return masterfile.load(good_path())
  
  
- @pytest.fixture
+ @pytest.fixture()
  def nosettings_mf():
      return masterfile.load(example_path())
  
  
- @pytest.fixture
+ @pytest.fixture()
  def problems_mf():
      return masterfile.load(problems_path())
  
Add () to fixture definitions
## Code Before:

from os import path
from glob import glob

import pytest

import masterfile

# EXAMPLE_PATH =
# GOOD_PATH =
# GOOD_CSVS = glob(path.join(GOOD_PATH, '*csv'))
# PROBLEMS_PATH = path.join(EXAMPLE_PATH, 'problems')


@pytest.fixture
def example_path():
    return path.join(path.dirname(path.abspath(__file__)), 'examples')


@pytest.fixture
def good_path():
    return path.join(example_path(), 'good')


@pytest.fixture
def good_csvs():
    return glob(path.join(good_path(), '*csv'))


@pytest.fixture
def problems_path():
    return path.join(example_path(), 'problems')


@pytest.fixture
def good_mf():
    return masterfile.load(good_path())


@pytest.fixture
def nosettings_mf():
    return masterfile.load(example_path())


@pytest.fixture
def problems_mf():
    return masterfile.load(problems_path())

## Instruction:
Add () to fixture definitions
## Code After:

from os import path
from glob import glob

import pytest

import masterfile

# EXAMPLE_PATH =
# GOOD_PATH =
# GOOD_CSVS = glob(path.join(GOOD_PATH, '*csv'))
# PROBLEMS_PATH = path.join(EXAMPLE_PATH, 'problems')


@pytest.fixture()
def example_path():
    return path.join(path.dirname(path.abspath(__file__)), 'examples')


@pytest.fixture()
def good_path():
    return path.join(example_path(), 'good')


@pytest.fixture()
def good_csvs():
    return glob(path.join(good_path(), '*csv'))


@pytest.fixture()
def problems_path():
    return path.join(example_path(), 'problems')


@pytest.fixture()
def good_mf():
    return masterfile.load(good_path())


@pytest.fixture()
def nosettings_mf():
    return masterfile.load(example_path())


@pytest.fixture()
def problems_mf():
    return masterfile.load(problems_path())
