Moves load_all_pokemon.py to the testing folder

This commit is contained in:
Samuel Henrique Oliveira da Silva 2017-10-06 16:59:48 -03:00
parent 6bbb14c905
commit ef3af25425
2 changed files with 3 additions and 2 deletions

View file

@ -6,7 +6,8 @@ import os
from pokemonterminal.database import Pokemon
SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__))
SCRIPT_DIR = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
SCRIPT_DIR = os.path.join(SCRIPT_DIR, "pokemonterminal")
DATA_DIR = os.path.join(SCRIPT_DIR, 'Data')
IMAGES_DIR = os.path.join(SCRIPT_DIR, 'Images')
EXTRA_DIR = os.path.join(IMAGES_DIR, 'Extra')

View file

@ -3,7 +3,7 @@
# To run the tests, use: python3 -m pytest --capture=sys
from pokemonterminal.database import Database, Pokemon
from pokemonterminal.load_all_pokemon import load_all_pokemon
from tests.load_all_pokemon import load_all_pokemon
from tests.test_utils import expected_len, MAX_ID