mirror of
https://gitlab.com/flectra-hq/flectra.git
synced 2026-08-18 17:24:42 -05:00
14 lines
484 B
Python
14 lines
484 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo, Flectra. See LICENSE file for full copyright and licensing details.
|
|
|
|
from flectra.addons.website.tests.test_base_url import TestUrlCommon
|
|
from flectra.tests import tagged
|
|
|
|
|
|
@tagged('-at_install', 'post_install')
|
|
class TestUrlCanonical(TestUrlCommon):
|
|
|
|
def test_01_canonical_url(self):
|
|
self._assertCanonical('/event?date=all', self.domain + '/event')
|
|
self._assertCanonical('/event?date=old', self.domain + '/event?date=old')
|