mirror of
https://github.com/apache/superset.git
synced 2024-09-17 11:09:47 -04:00
10 lines
218 B
Python
10 lines
218 B
Python
import json
|
|
from os import path
|
|
|
|
FIXTURES_DIR = 'tests/fixtures'
|
|
|
|
|
|
def load_fixture(fixture_file_name):
|
|
with open(path.join(FIXTURES_DIR, fixture_file_name)) as fixture_file:
|
|
return json.load(fixture_file)
|