HtmlToCode_test.py - Unit testing

This test bench exercises the CodeToRest module. First, set up for development (see To package). To run, execute py.test from the command line. Note the period in this command – pytest does NOT work (it is a completely different program).

Imports

These are listed in the order prescribed by PEP 8.

Third-party imports

None.

Local application imports

from CodeChat.RestToCode import html_to_code_file
 
 

TODO. See last test in RestToCode_test.py.

def xtest_1():
    html_to_code_file("Python", "C:\\Users\\Austin\\Desktop\\Test\\RestToCode.html")