Tests¶
shopkit.category.tests
-
class
shopkit.category.tests.
CategoryTestMixinBase
¶ Bases:
object
Base class for testing categories.
-
make_category
()¶ Abstract function for creating a test category. As the actual properties of Products depend on the classes actually implementing it, this function must be overridden in subclasses.
-
setUp
()¶ We want to have the category class available in self.
-
test_basic_category
()¶ Test if we can make and save a simple category.
-