mirror of
https://github.com/bregman-arie/devops-exercises.git
synced 2024-11-24 08:22:12 +02:00
40 lines
857 B
Python
40 lines
857 B
Python
"""
|
|
WIP
|
|
|
|
Yes, we do write tests for our tests.
|
|
"""
|
|
import unittest
|
|
# import pathlib
|
|
|
|
# from tests import *
|
|
# from scripts import get_answered_questions
|
|
|
|
|
|
def open_test_case_file(n: int):
|
|
pass
|
|
# p = pathlib.Path(
|
|
# rf'D:\PycharmProjects\devops-interview-questions\scripts\tests\' + '
|
|
# testcase{n}.md')
|
|
|
|
# with open(p, 'rb') as f:
|
|
# file_list = [line.rstrip() for line in f.readlines()]
|
|
# return file_list
|
|
|
|
|
|
class QuestionCount(unittest.TestCase):
|
|
solutions = (
|
|
|
|
)
|
|
|
|
def test_count_case_1(self):
|
|
pass
|
|
# raw_list = open_test_case_file(1)
|
|
# question_list = get_question_list(raw_list)
|
|
# answers = get_answered_questions.n_answers(question_list)
|
|
|
|
# self.assertEqual(len(question_list), 21)
|
|
# self.assertEqual(answers, 2)
|
|
|
|
def test_count_case_2(self):
|
|
pass
|