Example #1
0
    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'))
Example #2
0
    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'))
Example #3
0
    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'
            )
        )
Example #4
0
    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'
            )
        )
Example #5
0
 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')
     )
Example #6
0
 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'))