<s> from django . test import TransactionTestCase <EOL> from onadata . libs . serializers . organization_serializer import OrganizationSerializer <EOL> class TestOrganizationSerializer ( TransactionTestCase ) : <EOL> def setUp ( self ) : <EOL> self . serializer = OrganizationSerializer ( ) <EOL> def test_get_org_permissions_none ( self ) : <EOL> perms = self . serializer . get_org_permissions ( None ) <EOL> self . assertEqual ( perms , [ ] ) </s>
