1
# Copyright 2014 Canonical Ltd. This software is licensed under the GNU
2
# Affero General Public License version 3 (see the file LICENSE.txt).
4
from charmworld.forms.featured import (
7
from charmworld.search import (
12
from unittest import TestCase
15
class TestGetSchema(TestCase):
17
def test_CharmFeaturedness(self):
18
schema = get_schema(CHARM)
20
'Feature this charm', schema.children[0].title)
22
def test_BundleFeaturedness(self):
23
schema = get_schema(BUNDLE)
25
'Feature this bundle', schema.children[0].title)