(self)
| 8 | pass |
| 9 | |
| 10 | def test_utils(self): |
| 11 | md5 = get_sha256('test') |
| 12 | self.assertIsNotNone(md5) |
| 13 | c = CommonMarkdown.get_markdown(''' |
| 14 | # Title1 |
| 15 | |
| 16 | ```python |
| 17 | import os |
| 18 | ``` |
| 19 | |
| 20 | [url](https://www.lylinux.net/) |
| 21 | |
| 22 | [ddd](http://www.baidu.com) |
| 23 | |
| 24 | |
| 25 | ''') |
| 26 | self.assertIsNotNone(c) |
| 27 | d = { |
| 28 | 'd': 'key1', |
| 29 | 'd2': 'key2' |
| 30 | } |
| 31 | data = parse_dict_to_url(d) |
| 32 | self.assertIsNotNone(data) |
nothing calls this directly
no test coverage detected