mirror of
https://github.com/apache/superset.git
synced 2024-09-12 08:39:45 -04:00
* added fixtures and deck test * linting * linting * add os.path * remove para * fix reference
16 lines
392 B
Python
16 lines
392 B
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import absolute_import
|
|
from __future__ import division
|
|
from __future__ import print_function
|
|
from __future__ import unicode_literals
|
|
|
|
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)
|