Post

Mktohtml

Problem statement not found.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

import unittest
import os
import MarkdownToHTML


class MarkdownToHTML(unittest.TestCase):

    
    def list_all_files(self):
        os.environ["input_ext"] = ".*"
        mk_to_html = MarkdownToHTML()
        list_of_files = mk_to_html.list_all_files()
        self.assertGreater(len(list_of_files), 0)

    def test_sum_tuple(self):
        self.assertEqual(sum((1, 2, 2)), 6, "Should be 6")




This post is licensed under CC BY 4.0 by the author.