Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(22)  |  Call(0)  |  Derive(22)  |  Import(0)

src/m/o/moztrap-HEAD/tests/view/utils/test_querystring.py   moztrap(Download)
class TestUpdateQueryString(case.TestCase):
    @property
    def func(self):
        from moztrap.view.utils.querystring import update_querystring
        return update_querystring

src/m/o/moztrap-HEAD/tests/view/utils/test_auth.py   moztrap(Download)
class AjaxTest(case.TestCase):
    @property
    def login_maybe_required(self):
        """The decorator-factory under test."""
        from moztrap.view.utils.auth import login_maybe_required

src/m/o/moztrap-HEAD/tests/view/utils/test_ajax.py   moztrap(Download)
class AjaxTest(case.TestCase):
    """Tests for ajax template-swapping view decorator."""
    @property
    def ajax(self):
        """The decorator-factory under test."""

src/m/o/moztrap-HEAD/tests/view/templatetags/test_urls.py   moztrap(Download)
class FilterTest(case.TestCase):
    """Tests for URL-related template filters."""
    @property
    def urls(self):
        """The templatetag module under test."""
class ProtocolTest(case.TestCase):
    """Tests for the protocol template tag."""
    def tag(self):
        """Return the output of the {% protocol %} template tag."""
        t = Template("{% load urls %}{% protocol %}")

src/m/o/moztrap-HEAD/tests/view/templatetags/test_mtforms.py   moztrap(Download)
class FieldFilterTests(case.TestCase):
    """Tests for form field filters."""
    @property
    def mtforms(self):
        """The module under test."""

src/m/o/moztrap-HEAD/tests/view/results/templatetags/test_results.py   moztrap(Download)
class PercentageFilterTest(case.TestCase):
    """Tests for percentage filter."""
    @property
    def filter(self):
        """The template filter under test."""

src/m/o/moztrap-HEAD/tests/view/markup/templatetags/test_markup.py   moztrap(Download)
class FilterTest(case.TestCase):
    """Tests for markup-related template filters."""
    @property
    def markup(self):
        """The templatetag module under test."""

src/m/o/moztrap-HEAD/tests/view/lists/test_sort.py   moztrap(Download)
class SortTest(case.TestCase):
    def cls(self, full_path, GET):
        """Construct mock request; instantiate and return Sort object."""
        request = Mock()
        request.GET = GET

src/m/o/moztrap-HEAD/tests/view/lists/test_pagination.py   moztrap(Download)
class TestPagesizeUrl(case.TestCase):
    """Tests for ``pagesize_url`` function."""
    @property
    def func(self):
        """The function under test."""
class TestPagenumberUrl(case.TestCase):
    """Tests for ``pagenumber_url`` function."""
    @property
    def func(self):
        """The function under test."""
class TestPositiveInteger(case.TestCase):
    """Tests for ``positive_integer`` function."""
    @property
    def func(self):
        """The function under test."""

src/m/o/moztrap-HEAD/tests/view/lists/test_filters.py   moztrap(Download)
class FiltersTestCase(case.TestCase):
    """A test case for testing classes in the moztrap.view.lists.filters module."""
    @property
    def filters(self):
        """The module under test."""

  1 | 2  Next