Rename a few tests to follow standards. Move fits into a helper so they can be reused. Add two new Eos tests.

(cherry picked from commit f87ac4d)
This commit is contained in:
Ebag333
2017-03-23 10:56:52 -07:00
parent aacddb251d
commit 8baeafbdc2
8 changed files with 287 additions and 211 deletions

View File

@@ -13,7 +13,7 @@ gamedata_version = ""
gamedata_connectionstring = 'sqlite:///' + unicode(realpath(join(dirname(abspath(__file__)), "..", "eve.db")), sys.getfilesystemencoding())
pyfalog.debug("Gamedata connection string: {0}", gamedata_connectionstring)
if istravis is True or sys._called_from_test:
if istravis is True or hasattr(sys, '_called_from_test'):
# Running in Travis. Run saveddata database in memory.
saveddata_connectionstring = 'sqlite:///:memory:'
else: