Update to LOOT API v0.13.1

This commit is contained in:
Oliver Hamlet
2018-04-15 13:16:49 +01:00
parent 7faa360790
commit 671ca81beb
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -50,9 +50,9 @@ add_subdirectory(${PYBIND11_EXTRACTED_PATH})
#######################################
if (CMAKE_SYSTEM_NAME MATCHES "Windows")
set(LOOT_API_URL "https://github.com/loot/loot-api/releases/download/0.12.0/loot_api-0.12.0-0-g42cacca_dev-win32.7z")
set(LOOT_API_URL "https://github.com/loot/loot-api/releases/download/0.13.1/loot_api-0.13.1-0-g1804e45_dev-win32.7z")
else()
set(LOOT_API_URL "https://github.com/loot/loot-api/releases/download/0.12.0/loot-api.tar.xz")
set(LOOT_API_URL "https://github.com/loot/loot-api/releases/download/0.13.1/loot-api.tar.xz")
endif()
ExternalProject_Add(loot-api-c++
+4 -4
View File
@@ -40,14 +40,14 @@ class GameFixture(unittest.TestCase):
class TestLootApi(GameFixture):
def test_is_compatible(self):
self.assertFalse(is_compatible(0, 9, 0))
self.assertTrue(is_compatible(0, 12, 0))
self.assertTrue(is_compatible(0, 13, 0))
def test_version(self):
self.assertEqual(Version.major, 0)
self.assertEqual(Version.minor, 12)
self.assertEqual(Version.patch, 0)
self.assertEqual(Version.minor, 13)
self.assertEqual(Version.patch, 1)
self.assertNotEqual(Version.revision, u'')
self.assertEqual(Version.string(), "0.12.0")
self.assertEqual(Version.string(), "0.13.1")
def test_wrapper_version(self):
self.assertEqual(WrapperVersion.major, 3)