Files
crankshaft/release/python/0.5.2/crankshaft/test/helper.py
Rafa de la Torre ce5d1f9e86 Release 0.5.2
2017-05-12 17:26:41 +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)