aa-structures 2.14.1__py3-none-any.whl → 2.16.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {aa_structures-2.14.1.dist-info → aa_structures-2.16.0.dist-info}/METADATA +1 -1
- {aa_structures-2.14.1.dist-info → aa_structures-2.16.0.dist-info}/RECORD +15 -14
- structures/__init__.py +1 -1
- structures/admin.py +40 -0
- structures/constants.py +6 -3
- structures/managers.py +1 -1
- structures/models/owners.py +96 -56
- structures/tests/models/test_owners_2.py +103 -59
- structures/tests/test_admin.py +19 -0
- structures/tests/testdata/constants.py +22 -0
- structures/tests/testdata/create_eveuniverse.py +1 -3
- structures/tests/testdata/eveuniverse.json +15503 -6784
- structures/webhooks/core.py +1 -1
- {aa_structures-2.14.1.dist-info → aa_structures-2.16.0.dist-info}/LICENSE +0 -0
- {aa_structures-2.14.1.dist-info → aa_structures-2.16.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
from enum import IntEnum
|
2
|
+
|
3
|
+
|
4
|
+
class EveTypeId(IntEnum):
|
5
|
+
"""An EVE type ID."""
|
6
|
+
|
7
|
+
ASTRAHUS = 35832
|
8
|
+
ASTRAHUS_UPWELL_QUANTUM_CORE = 56201
|
9
|
+
ATHANOR = 35835
|
10
|
+
LIQUID_OZONE = 16273
|
11
|
+
METENOX = 81826
|
12
|
+
STANDUP_CLONING_CENTER_I = 35894
|
13
|
+
STANDUP_METENOX_MOON_DRILL = 82941
|
14
|
+
INTEGRATED_MOON_DRILL_ARMATURE = 81920
|
15
|
+
|
16
|
+
|
17
|
+
class EveMoonId(IntEnum):
|
18
|
+
AMAMAKE_P2_M1 = 40161465
|
19
|
+
|
20
|
+
|
21
|
+
class EveSolarSystemId(IntEnum):
|
22
|
+
AMAMAKE = 30002537
|
@@ -18,7 +18,7 @@ class CreateEveUniverseTestData(TestCase):
|
|
18
18
|
),
|
19
19
|
ModelSpec(
|
20
20
|
"EveCategory",
|
21
|
-
ids=[EveCategoryId.ORBITAL],
|
21
|
+
ids=[EveCategoryId.ORBITAL, EveCategoryId.STRUCTURE_MODULE],
|
22
22
|
include_children=True,
|
23
23
|
),
|
24
24
|
ModelSpec(
|
@@ -40,12 +40,10 @@ class CreateEveUniverseTestData(TestCase):
|
|
40
40
|
EveGroupId.FUEL_BLOCK,
|
41
41
|
EveGroupId.ICE_PRODUCT,
|
42
42
|
EveGroupId.QUANTUM_CORES,
|
43
|
-
EveGroupId.STRUCTURE_CITADEL_SERVICE_MODULE,
|
44
43
|
EveGroupId.UNCOMMON_MOON_ASTEROIDS,
|
45
44
|
],
|
46
45
|
include_children=True,
|
47
46
|
),
|
48
|
-
ModelSpec("EveType", ids=[], include_children=False),
|
49
47
|
ModelSpec(
|
50
48
|
"EveSolarSystem",
|
51
49
|
ids=[30002506, 31000005, 30002537, 30000474, 30000476],
|