def test_complexity_example(self): """ Tests that https://github.com/audreyr/complexity-example2.git works. """ main.complexity('complexity-example2/project/') self.assertTrue(os.path.isfile('complexity-example2/www/index.html')) self.assertTrue( os.path.isfile('complexity-example2/www/about/index.html')) self.assertTrue( os.path.isfile('complexity-example2/www/repos/index.html')) self.assertTrue( os.path.isfile( 'complexity-example2/www/img/glyphicons-halflings.png')) self.assertTrue( os.path.isfile('complexity-example2/www/charts/index.html')) self.assertTrue( os.path.isfile('complexity-example2/www/charts/bar/index.html')) self.assertTrue( os.path.isfile('complexity-example2/www/charts/pie/index.html')) self.assertTrue( os.path.isfile( 'complexity-example2/www/charts/pie/basic/index.html')) self.assertTrue( os.path.isfile( 'complexity-example2/www/charts/pie/donut/index.html'))
def test_complexity_example(self): """ Tests that https://github.com/audreyr/complexity-example.git works. """ main.complexity('complexity-example/project/') self.assertTrue(os.path.isfile('complexity-example/www/index.html')) self.assertTrue( os.path.isfile('complexity-example/www/about/index.html')) self.assertTrue( os.path.isfile( 'complexity-example/www/img/glyphicons-halflings.png'))
def test_complexity_example(self): """ Tests that https://github.com/audreyr/complexity-example.git works. """ main.complexity('complexity-example/project/') self.assertTrue(os.path.isfile('complexity-example/www/index.html')) self.assertTrue( os.path.isfile('complexity-example/www/about/index.html') ) self.assertTrue( os.path.isfile( 'complexity-example/www/img/glyphicons-halflings.png' ) )
def test_complexity_example(self): """ Tests that https://github.com/audreyr/complexity-example2.git works. """ main.complexity('complexity-example2/project/') self.assertTrue( os.path.isfile('complexity-example2/www/index.html') ) self.assertTrue(os.path.isfile( 'complexity-example2/www/about/index.html') ) self.assertTrue( os.path.isfile('complexity-example2/www/repos/index.html') ) self.assertTrue( os.path.isfile( 'complexity-example2/www/img/glyphicons-halflings.png' ) ) self.assertTrue( os.path.isfile('complexity-example2/www/charts/index.html') ) self.assertTrue( os.path.isfile('complexity-example2/www/charts/bar/index.html') ) self.assertTrue( os.path.isfile('complexity-example2/www/charts/pie/index.html') ) self.assertTrue( os.path.isfile( 'complexity-example2/www/charts/pie/basic/index.html' ) ) self.assertTrue( os.path.isfile( 'complexity-example2/www/charts/pie/donut/index.html' ) )
def test_conf_proj2_with_complexity(self): main.complexity('tests/conf_proj2') self.assertTrue(os.path.isfile('tests/conf_proj2/wwwz/index.html')) self.assertTrue( os.path.isfile('tests/conf_proj2/wwwz/about/index.html') )
def test_conf_proj2_with_complexity(self): main.complexity('tests/conf_proj2') self.assertTrue(os.path.isfile('tests/conf_proj2/wwwz/index.html')) self.assertTrue( os.path.isfile('tests/conf_proj2/wwwz/about/index.html'))