mirror of
https://github.com/loot/libloot-python.git
synced 2026-07-27 14:14:13 -07:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1fb6502293 | ||
|
|
8360465404 |
@@ -22,6 +22,7 @@ values are unsigned integer constants.
|
||||
.. py:attribute:: fonv
|
||||
.. py:attribute:: tes4
|
||||
.. py:attribute:: tes5
|
||||
.. py:attribute:: tes5se
|
||||
|
||||
.. py:class:: loot_api.LanguageCode
|
||||
|
||||
|
||||
@@ -55,6 +55,7 @@ PYBIND11_PLUGIN(loot_api) {
|
||||
enum_<GameType>(module, "GameType")
|
||||
.value("tes4", GameType::tes4)
|
||||
.value("tes5", GameType::tes5)
|
||||
.value("tes5se", GameType::tes5se)
|
||||
.value("fo3", GameType::fo3)
|
||||
.value("fonv", GameType::fonv)
|
||||
.value("fo4", GameType::fo4);
|
||||
|
||||
+2
-2
@@ -45,10 +45,10 @@ class TestLootApi(GameFixture):
|
||||
def test_wrapper_version(self):
|
||||
self.assertEqual(WrapperVersion.major, 1)
|
||||
self.assertEqual(WrapperVersion.minor, 1)
|
||||
self.assertEqual(WrapperVersion.patch, 0)
|
||||
self.assertEqual(WrapperVersion.patch, 1)
|
||||
self.assertNotEqual(WrapperVersion.revision, u'')
|
||||
self.assertNotEqual(WrapperVersion.revision, Version.revision)
|
||||
self.assertEqual(WrapperVersion.string(), "1.1.0")
|
||||
self.assertEqual(WrapperVersion.string(), "1.1.1")
|
||||
|
||||
def test_create_db(self):
|
||||
db = create_database(GameType.tes4, self.game_path, self.local_path)
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
namespace loot {
|
||||
const unsigned int WrapperVersion::major = 1;
|
||||
const unsigned int WrapperVersion::minor = 1;
|
||||
const unsigned int WrapperVersion::patch = 0;
|
||||
const unsigned int WrapperVersion::patch = 1;
|
||||
const std::string WrapperVersion::revision = "@GIT_COMMIT_STRING@";
|
||||
|
||||
std::string WrapperVersion::string() {
|
||||
|
||||
Reference in New Issue
Block a user