<reponame>ordinary-dev/homepage-generator<gh_stars>1-10
from django.test import TestCase

import yaml


class PageGenTest(TestCase):
    def test_example_cfg(self):
        with open('page_gen/cfg.yaml', 'r') as cfg:
            content = yaml.safe_load(cfg)
        self.assertIs('categories' in content, True)

from django.test import TestCase

import yaml


class PageGenTest(TestCase):
    def test_example_cfg(self):
        with open('page_gen/cfg.yaml', 'r') as cfg:
            content = yaml.safe_load(cfg)
        self.assertIs('categories' in content, True)