| 1 |
# -*- coding: utf-8 -*- |
| 2 |
|
| 3 |
from __future__ import absolute_import, unicode_literals |
| 4 |
|
| 5 |
import os |
| 6 |
import json |
| 7 |
from django.conf import settings |
| 8 |
|
| 9 |
with open(os.path.join(settings.BASE_DIR, "mockapp", "fixtures", "mocklocation.json"), "r") as f: |
| 10 |
mocklocation_size = len(json.loads(f.read())) |
| 11 |
|
| 12 |
MOCKLOCATION_DATA_SET_SIZE = mocklocation_size |
| 13 |
|
| 14 |
with open(os.path.join(settings.BASE_DIR, "mockapp", "fixtures", "mockperson.json"), "r") as f: |
| 15 |
mockperson_size = len(json.loads(f.read())) |
| 16 |
|
| 17 |
MOCKPERSON_DATA_SET_SIZE = mockperson_size |