Mike Terzo
3e7119f63e
Update to latest pypuppetdb.
2017-01-30 16:05:22 -05:00
Mike Terzo
8b883b32f8
Adding new table settings to docker_settings
2017-01-26 13:53:29 -05:00
Mike Terzo
4f50811142
Adding first test case for report
2017-01-26 04:35:58 -05:00
Mike Terzo
caadaa0b35
Test index with division by zero
...
Signed-off-by: Mike Terzo <mike@terzo.org >
2017-01-23 19:54:00 -05:00
Mike Terzo
86488280c9
Test error conditions.
...
Fix 412 template to use standard styling that the other 400 templates use.
Update forbidden error to return status code 403 instead of 400.
Signed-off-by: Mike Terzo <mike@terzo.org >
2017-01-23 19:53:55 -05:00
Mike Terzo
2e4acc3e3f
Adding radiator json testing
...
Signed-off-by: Mike Terzo <mike@terzo.org >
2017-01-23 19:53:52 -05:00
Mike Terzo
0570372d97
Testing pretty print produces good html
...
Signed-off-by: Mike Terzo <mike@terzo.org >
2017-01-23 19:53:48 -05:00
Mike Terzo
0d1fbcee88
Adding tests for node list
...
Signed-off-by: Mike Terzo <mike@terzo.org >
2017-01-23 19:53:45 -05:00
Mike Terzo
7cebe56fc4
Adding testing for all environments
...
Signed-off-by: Mike Terzo <mike@terzo.org >
2017-01-23 19:53:41 -05:00
Mike Terzo
e2c45648b9
Removing whitespace from classes in radiator view
...
Signed-off-by: Mike Terzo <mike@terzo.org >
2017-01-23 19:53:33 -05:00
Mike Terzo
fb6b8d2c0e
Adding testing for radiator view.
...
Signed-off-by: Mike Terzo <mike@terzo.org >
2017-01-23 18:14:52 -05:00
Mike Terzo
c729b4d88d
Adding testing for Puppetboard app using flask client.
...
Adding offline / online mode testing for validation.
This is the start of adding a ton of tests with the start
to mocking for pypupppetdb
2017-01-23 18:06:53 -05:00
Mike Terzo
ff409c5f6d
Adding coverage for invalid log setting
2017-01-23 18:06:52 -05:00
Mike Terzo
7302dbecec
Convert Unit tests to use py.test format
2017-01-23 18:06:49 -05:00
Raphaël Pinson
df91efff33
Use puppetdb as PUPPETDB_HOST on Docker
...
This allows to plug and play a PuppetDB container (or use extra host)
2017-01-05 12:54:31 +01:00
Mike Terzo
b96e76ff10
Use alpine python and gunicorn
...
Adding docker_settings.py which reads environment variables
to allows for environment variable to be passed to the
container
2016-12-19 15:54:32 -05:00
Mike Terzo
3fbd182453
Adding unittests ( #300 )
...
* Create a custom class to handle aborting 204 properly. If this isn't
covered the server will send a 500 due to a python exception
* Moved py.test configuration under tool:pytest, this was causing a
warning. This is new to 3.0.1 which is now the pinned version
* Unittest for puppetboard.utils
2016-09-11 21:01:13 -04:00
Mike Terzo
faac5fa1bc
Travis ci integration ( #267 )
...
* Initial travis-ci integration
* Format code base to PEP8
2016-07-13 20:59:07 -04:00