Files
crankshaft/release/python/0.4.2/crankshaft/test/helper.py
Carla Iriberri b68f1c53b6 Release 0.4.2
2016-09-22 11:11:58 +02:00

14 lines
242 B
Python

import unittest
from mock_plpy import MockPlPy
plpy = MockPlPy()
import sys
sys.modules['plpy'] = plpy
import os
def fixture_file(name):
dir = os.path.dirname(os.path.realpath(__file__))
return os.path.join(dir, 'fixtures', name)