File: utils.py

package info (click to toggle)
prospector 1.10.3-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,440 kB
  • sloc: python: 4,200; makefile: 181
file content (9 lines) | stat: -rw-r--r-- 257 bytes parent folder | download
1
2
3
4
5
6
7
8
9
from pathlib import Path
from unittest import TestCase

from prospector.finder import FileFinder


class TestCaseWithFiles(TestCase):
    def get_test_files(self, name, workdir=None):
        return FileFinder(Path(__file__).parent / name, workdir=workdir)