Skip to content

Commit

Permalink
Removed dummy test
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmueller committed Apr 23, 2014
1 parent 702711a commit 78125b7
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions sunpy/map/tests/test_map_factory.py
Expand Up @@ -82,22 +82,6 @@ def test_databaseentry(self):
db_map = sunpy.map.Map(res)
assert isinstance(db_map, sunpy.map.GenericMap)

# make sure mock DatabaseEntry works properly
def test_databaseentry_nosqlalchemy(self):
if HAS_SQLALCHEMY:
del sunpy.database.tables
sys.modules['sunpy.database.tables'] = None
reload(sunpy.map.map_factory)
DatabaseEntry = sunpy.map.map_factory.DatabaseEntry
else:
from sunpy.map.map_factory import DatabaseEntry
db_entry = DatabaseEntry()
# Make sure this isn't an actual DatabaseEntry object
with pytest.raises(AttributeError):
path = db_entry.path
# Make sure the DatabaseEntry class is empty
assert dir(db_entry) == ['__doc__', '__module__']

@pytest.mark.online
def test_url_pattern(self):
# A URL
Expand Down

0 comments on commit 78125b7

Please sign in to comment.