def test_any_section_complete_one(self):
        schema = load_schema_from_params('test', 'navigation_completeness')
        completed_blocks = [
            Location('coffee-group', 0, 'coffee'),
            Location('coffee-group', 0, 'response-yes'),
        ]
        routing_path = [
            Location('coffee-group', 0, 'coffee'),
            Location('coffee-group', 0, 'response-yes'),
        ]

        progress = Completeness(
            schema, AnswerStore(), completed_blocks, routing_path, metadata={})
        self.assertTrue(progress.any_section_complete())
 def test_any_section_complete_none(self):
     schema = load_schema_from_params('test', 'navigation_completeness')
     progress = Completeness(schema, AnswerStore(), [], [], metadata={})
     self.assertFalse(progress.any_section_complete())