mirror of
https://github.com/nikdoof/django-evesde.git
synced 2025-12-17 03:39:24 +00:00
16 lines
433 B
Python
16 lines
433 B
Python
from django.test import TestCase
|
|
from evesde.models.locations import Station
|
|
from evesde.eveapi.eve import import_conquerable_stations
|
|
|
|
|
|
class TestConquerableStationsImport(TestCase):
|
|
"""Tests the import_conquerable_stations function"""
|
|
|
|
def setUp(self):
|
|
Station.objects.all().delete()
|
|
|
|
def test_import_stations(self):
|
|
import_conquerable_stations()
|
|
self.assertGreater(Station.objects.count(), 0)
|
|
|