Hi Collin,
I apologise for the late update. Didnt get any notifications from your
reply.
I have solved this issue as per your suggestion. Pasting the solution for
others' reference.
Thanks !
from django.test import TestCase
from django.contrib.admin.sites import AdminSite
from batch_apps.mod
Hello,
Would it work to import AppAdmin, instantiate it, and then call the methods
in a unit test?
Collin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to dj
Hi,
I would like to unit-test the activate_apps( ) and deactivate_apps( )
functions below, as low-level as possible.
How could I do this without going through Selenium (FT) route?
In my admin.py:
from django.contrib import admin
from my_app_listing.models import App
class AppAdmin(admin.Mode
3 matches
Mail list logo