from django.test import (
    RequestFactory,
    TestCase,
)

from mock import patch


class TestTrackAPICalls(TestCase):
    def test_when_user(self):
        pass

    def test_when_no_user(self):
        pass

from django.test import (
    RequestFactory,
    TestCase,
)

from mock import patch


class TestTrackAPICalls(TestCase):
    def test_when_user_auth(self):
        pass

    def test_when_no_user_auth(self):
        pass

Change test method name