예제 #1
0
def test_is_rst_file_blank():
    assert files.is_rst_file("") is False
예제 #2
0
def test_is_rst_file_caps():
    assert files.is_rst_file("test.RST") is True
예제 #3
0
def test_is_rst_file_not():
    assert files.is_rst_file("test.py") is False
예제 #4
0
def test_is_rst_file():
    assert files.is_rst_file("test.rst") is True