Observed since 20 Oct, 16:54 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aa-evesde-factory
Factory helpers for faster application development with EVE SDE & AllianceAuth data
Factory helpers for faster application development with EVE SDE data
These factories help you quickly create realistic AllianceAuth and EVE SDE objects in tests without writing repetitive setup code. They are especially useful when you need a valid user, corporation, or item model for a fast and focused test.
from evesde_factory.allianceauth import UserMainFactory
from evesde_factory.eve_sde import ItemTypeFactory
class TestEveSdeFactory(EVESDEFactoryTestCase):
"""Test the factories."""
def test_can_create_app_user_with_custom_permissions(self):
"""Create a user with a custom permission for testing."""
user = UserMainFactory(permissions__=["yourapp.basic_access"])
self.assertTrue(user.has_perm("yourapp.basic_access"))
def test_create_itemtype(self):
"""Create a basic EVE SDE item type for testing."""
custom_name = "Custom Item Type"
item_type = ItemTypeFactory(name=custom_name)
self.assertEqual(item_type.name, custom_name)
You want to improve the project? Please ensure you read the Contribution Guidelines
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
allianceauthEnvironment{
"extras": "",
"marker": null,
"requires_python": "<3.15,>=3.10",
"evaluation": "NOT_EVALUATED"
} | allianceauth>=5.2 | runtime |
django-eveonline-sdeEnvironment{
"extras": "",
"marker": null,
"requires_python": "<3.15,>=3.10",
"evaluation": "NOT_EVALUATED"
} | django-eveonline-sde<1,>=0.2 | runtime |
coverageEnvironment{
"extras": "",
"marker": "extra == \"tests-allianceauth-latest\"",
"requires_python": "<3.15,>=3.10",
"evaluation": "NOT_EVALUATED"
} | coverage; extra == "tests-allianceauth-latest" | runtime |
factory-boyEnvironment{
"extras": "",
"marker": "extra == \"tests-allianceauth-latest\"",
"requires_python": "<3.15,>=3.10",
"evaluation": "NOT_EVALUATED"
} | factory-boy; extra == "tests-allianceauth-latest" | runtime |
bdist_wheel · 38.05 KB · Python py3
sdist · 34.08 KB · Python source
Observed since 20 Oct, 16:54 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:4b6fed4d45e7bd03b2e7a6fdc6ec91520a3d620b82ebe858ed58d2b97f50696f