Commit 6531a56e8ad9600832c746a3f113aa70969adee5

Authored by Miguel Barão
1 parent 00fef442
Exists in dev

minor change in comments

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
perguntations/testfactory.py
@@ -66,7 +66,7 @@ test_schema = schema.Schema( @@ -66,7 +66,7 @@ test_schema = schema.Schema(
66 }, 66 },
67 ignore_extra_keys=True, 67 ignore_extra_keys=True,
68 ) 68 )
69 -# FIXME schema error with 'testfile' which is added in the code 69 +# FIXME: schema error with 'testfile' which is added in the code
70 70
71 # ============================================================================ 71 # ============================================================================
72 class TestFactoryException(Exception): 72 class TestFactoryException(Exception):
@@ -105,7 +105,7 @@ class TestFactory(dict): @@ -105,7 +105,7 @@ class TestFactory(dict):
105 normalize_question_list(self["questions"]) 105 normalize_question_list(self["questions"])
106 106
107 # --- for review, we are done. no factories needed 107 # --- for review, we are done. no factories needed
108 - # if self['review']: FIXME 108 + # if self['review']: FIXME:
109 # logger.info('Review mode. No questions loaded. No factories.') 109 # logger.info('Review mode. No questions loaded. No factories.')
110 # return 110 # return
111 111
@@ -267,7 +267,7 @@ class TestFactory(dict): @@ -267,7 +267,7 @@ class TestFactory(dict):
267 checks if questions can be correctly generated and corrected 267 checks if questions can be correctly generated and corrected
268 """ 268 """
269 logger.info("Checking questions...") 269 logger.info("Checking questions...")
270 - # FIXME get_event_loop will be deprecated in python3.10 270 + # FIXME: get_event_loop will be deprecated in python3.10
271 loop = asyncio.get_event_loop() 271 loop = asyncio.get_event_loop()
272 for i, (qref, qfact) in enumerate(self["question_factory"].items()): 272 for i, (qref, qfact) in enumerate(self["question_factory"].items()):
273 try: 273 try: