Browse Source

Add missing things, fix test

master
parent
commit
c0407e4d50
Signed by: hristoast GPG Key ID: 5FC7664AD47AA1C5
  1. 3
      momw/momw/data_seeds/mod_lists.py
  2. 1
      momw/momw/tests.py
  3. 1
      requirements.txt

3
momw/momw/data_seeds/mod_lists.py

@ -126,7 +126,8 @@ def generate_list(list_list: list, list_obj: ModList, num=1) -> ModList:
# print(m)
# print("-" * 35)
else:
print("ERROR: Unable to find a mod that matches:", s)
# print("ERROR: Unable to find a mod that matches:", s)
pass
if m:
add_mod_to_list(list_obj, m, num)

1
momw/momw/tests.py

@ -907,6 +907,7 @@ class MomwTestCase(TestCase):
for m in Mod.objects.all():
if (
m.category.title not in settings.IGNORED_CATS
and m.category.slug != "settings-tweaks"
and m.name not in settings.IGNORED_MODS
):
if m.datapathloadorder_set.count() == 0:

1
requirements.txt

@ -11,6 +11,7 @@ jedi
pendulum==2.0.5
psycopg2-binary==2.8.6
python3-memcached==1.51
toml==0.10.1
uWSGI==2.0.18
https://modding-openmw.com/files/rikeripsum.zip
selenium==3.141.0

Loading…
Cancel
Save