from tests.customlist_tests.base.customlist_test_base import CustomListTestBase


class CustomListClearTests(CustomListTestBase):

    def test_customListClear_whenNonEmptyList_shouldClear(self):
        custom_list = self.setup_list(1, 2, 3, 4)
        custom_list.clear()
        self.assertEmpty(custom_list)

    def test_customListClear_whenListIsEmpty_shouldClear(self):
        custom_list = self.setup_list()
        custom_list.clear()
        self.assertEmpty(custom_list)

391122cec989e7414a82278c68a0b96fc7cda21d
<mask token>


class CustomListClearTests(CustomListTestBase):
    <mask token>
    <mask token>

<mask token>


class CustomListClearTests(CustomListTestBase):

    def test_customListClear_whenNonEmptyList_shouldClear(self):
        custom_list = self.setup_list(1, 2, 3, 4)
        custom_list.clear()
        self.assertEmpty(custom_list)
    <mask token>

<mask token>


class CustomListClearTests(CustomListTestBase):

    def test_customListClear_whenNonEmptyList_shouldClear(self):
        custom_list = self.setup_list(1, 2, 3, 4)
        custom_list.clear()
        self.assertEmpty(custom_list)

    def test_customListClear_whenListIsEmpty_shouldClear(self):
        custom_list = self.setup_list()
        custom_list.clear()
        self.assertEmpty(custom_list)

from tests.customlist_tests.base.customlist_test_base import CustomListTestBase


class CustomListClearTests(CustomListTestBase):

    def test_customListClear_whenNonEmptyList_shouldClear(self):
        custom_list = self.setup_list(1, 2, 3, 4)
        custom_list.clear()
        self.assertEmpty(custom_list)

    def test_customListClear_whenListIsEmpty_shouldClear(self):
        custom_list = self.setup_list()
        custom_list.clear()
        self.assertEmpty(custom_list)
