fixed formatting changes from quantified code, test links in docs

This commit is contained in:
Lindsey Heagy
2016-07-21 14:38:05 -07:00
parent 57d0c84b41
commit 44ec0623d6
3 changed files with 11 additions and 11 deletions
+8 -8
View File
@@ -29,15 +29,15 @@ class Doc_Test(unittest.TestCase):
# "%s"%(latex_path)])
# assert check == 0
# def test_linkcheck(self):
# doctrees_path = os.path.sep.join(self.path_to_docs.split(os.path.sep) + ['_build']+['doctrees'])
# link_path = os.path.sep.join(self.path_to_docs.split(os.path.sep) + ['_build'])
def test_linkcheck(self):
doctrees_path = os.path.sep.join(self.path_to_docs.split(os.path.sep) + ['_build']+['doctrees'])
link_path = os.path.sep.join(self.path_to_docs.split(os.path.sep) + ['_build'])
# check = subprocess.call(["sphinx-build", "-nW", "-b", "linkcheck", "-d",
# "%s"%(doctrees_path),
# "%s"%(self.path_to_docs),
# "%s"%(link_path)])
# assert check == 0
check = subprocess.call(["sphinx-build", "-nW", "-b", "linkcheck", "-d",
"%s"%(doctrees_path),
"%s"%(self.path_to_docs),
"%s"%(link_path)])
assert check == 0
if __name__ == '__main__':
unittest.main()