<reponame>the-zebulan/CodeWars<filename>tests/kyu_6_tests/test_remove_anchor_from_url.py
import unittest

from katas.kyu_6.remove_anchor_from_url import remove_url_anchor


class RemoveURLAnchorTestCase(unittest.TestCase):
    def test_equals(self):
        self.assertEqual(remove_url_anchor('www.codewars.com#about'),
                         'www.codewars.com')

    def test_equals_2(self):
        self.assertEqual(remove_url_anchor('www.codewars.com?page=1'),
                         'www.codewars.com?page=1')

import unittest

from katas.kyu_6.remove_anchor_from_url import remove_url_anchor


class RemoveURLAnchorTestCase(unittest.TestCase):
    def test_equals(self):
        self.assertEqual(remove_url_anchor('www.codewars.com#about'),
                         'www.codewars.com')

    def test_equals_2(self):
        self.assertEqual(remove_url_anchor('www.codewars.com?page=1'),
                         'www.codewars.com?page=1')