Commit graph

113 commits

Author SHA1 Message Date
Andrew Bogott
bfe2d1f3ba flake8 fixes: correct some indentations 2019-03-05 16:36:11 +00:00
Carlos Meza
43e54d26cc pylint E1601(print-statement) 2018-04-09 22:27:29 -07:00
Carlos Meza
4e1a5922f7 pylint W0621(redefined-outer-name) 2018-02-25 10:27:53 +00:00
Carlos Meza
23ec568d3c pylint W0703(broad-except) 2018-02-25 09:43:47 +00:00
Carlos Meza
05abccda0b pylint R1704(redefined-argument-from-local) 2018-02-25 08:37:24 +00:00
Carlos Meza
6e183914ac fix pylint W0403(relative-import) 2018-02-25 04:12:24 +00:00
Anders Ingemann
6dac2abd7b
pep8: Fix E722 do not use bare except' 2017-11-09 20:06:51 +01:00
Anders Ingemann
334a16ee50
Fix equality & identity test for new Debian release 2017-06-17 00:57:19 +02:00
Zach Marano
7066efe9d1 Add buster as testing and promote stretch to stable, jessie to oldstable. Stretch release to stable is June 17. 2017-06-16 12:31:58 -07:00
Anders Ingemann
22bb21f6fc tests: Increas delay in log_call unit test
Scheduling on travis-ci seems a bit iffy,
hopefully the increased delay fixes the problem.
2016-09-22 19:19:53 +02:00
Anders Ingemann
f62c8ade99 Convert indentation from tabs to spaces (4)
Up until now I didn't see the point of using spaces for indentation.
However, the previous commit (a18bec3) was quite eye opening.
Given that python is an indentation aware language, the amount of
mistakes that went unnoticed because tabs and spaces were used
at the same time (tabs for indentation and spaces for alignment)
were unacceptable.

E101,W191 have been re-enable in the tox flake8 checker and
the documentation has been modified accordingly.

The following files have been left as-is:
* bootstrapvz/common/assets/extlinux/extlinux.conf
* bootstrapvz/common/assets/init.d/expand-root
* bootstrapvz/common/assets/init.d/generate-ssh-hostkeys
* bootstrapvz/common/assets/init.d/squeeze/generate-ssh-hostkeys
* bootstrapvz/plugins/docker_daemon/assets/init.d/docker
* bootstrapvz/providers/ec2/assets/bin/growpart
* bootstrapvz/providers/ec2/assets/grub.d/40_custom
* bootstrapvz/providers/ec2/assets/init.d/ec2-get-credentials
* bootstrapvz/providers/ec2/assets/init.d/ec2-run-user-data
* docs/_static/taskoverview.coffee
* docs/_static/taskoverview.less
* tests/unit/subprocess.sh
2016-06-04 11:38:16 +02:00
Anders Ingemann
6bb654b79f Compat with new sphinx
Changed a lot of code:: to code-block::
Also added sphinx_rtd_theme to deps in tox
2016-03-04 01:21:52 +01:00
Anders Ingemann
77307e3bbf Add first integration test
This takes all the manifests and does a dry-run on them.
The plan is to later on enable testing of partial plugin examples as well.
2016-03-04 01:00:29 +01:00
Anders Ingemann
6a7a6e21d5 Make the manifest unit tests prettier 2016-03-04 00:48:48 +01:00
Anders Ingemann
4a0c598b81 Fix unit/manifests_tests
The manifest folder reordering into official/ and examples/
hid all of the manifests from that generator.
recursive_glob has been introduced in order to be able to find all
manifests.
2016-03-04 00:48:48 +01:00
Anders Ingemann
f8118b3f3e Rename integration tests to system tests, since they cover the entire system
*cough e82bdf4 *cough
2016-03-04 00:48:48 +01:00
Jesse Szwedko
673d2a520d Fix pep8 errors arising in PR builds
PR build is using pep8 1.7.0 but master is using 1.5.7; curious,
but this will fix it either way.

Signed-off-by: Andrew Garrett <andrew.garrett@getbraintree.com>
2016-01-12 19:26:48 +00:00
Anders Ingemann
144a33531f Add documentation for integration test providers 2015-12-13 23:12:00 +01:00
Anders Ingemann
072969065c Implement docker integration test provider and docker tests
Also make build_server.remote_command() public. It's quite useful.
2015-12-13 23:12:00 +01:00
Anders Ingemann
d6e504d388 Document integration provider dependencies 2015-12-13 19:42:15 +01:00
Anders Ingemann
bd7675bedf Introduce run_settings in build_servers.yml
Will be used when starting instances during integration testing.
2015-12-13 19:42:15 +01:00
Anders Ingemann
35121f9c7f Add option to document integration test providers seperately 2015-12-13 19:42:15 +01:00
Anders Ingemann
c880a6849a Remove image section in manifest
All provider specific settings have been moved to the
provider section. The image name itself is now located
at the top level and called "name". It is required for all providers.
2015-12-13 19:41:18 +01:00
Tiago Ilieve
b710986b70 tox: add 'tests/' folder to flake8 2015-10-29 21:24:25 -02:00
Anders Ingemann
f10fe8efd6 Document tox positional arguments 2015-05-02 11:51:17 +02:00
Anders Ingemann
71c7d445ad Fix #217, by introducing class for comparison of releases 2015-04-29 21:38:06 +02:00
Anders Ingemann
40f66d48cc Don't test sectors with unimplemented abs() 2015-04-29 20:46:37 +02:00
Anders Ingemann
a34423c1a1 Rename sectors tests so it is actually run 2015-04-29 20:38:03 +02:00
Anders Ingemann
ad8d817c52 Add missing hashmark to link 2015-04-22 08:53:59 +02:00
Anders Ingemann
84de1de00f Docs for integration testing 2015-04-20 16:26:05 +02:00
Anders Ingemann
7a1187c639 Simplify virtualbox test manifest composition 2015-04-20 16:25:35 +02:00
Anders Ingemann
5942c665bc Fix some indentation and links 2015-04-20 13:04:17 +02:00
Anders Ingemann
d496c028cd Document the remote bootstrapping procedure 2015-04-19 19:28:13 +02:00
Anders Ingemann
01f5a2db04 Add structure for testing docs 2015-04-16 23:30:41 +02:00
Anders Ingemann
5a46a0b1ab Yup, same goes for bytes.py.... 2015-04-16 22:22:49 +02:00
Anders Ingemann
f397ba5f08 Yeah... 94bd938 really wasn't very smart
Next time I should probably try to run tox after doing any kind of rename like this :-)
2015-04-16 22:22:49 +02:00
Anders Ingemann
c4637af0cf Integration testing for S3 backed PVM instances 2015-04-16 22:22:48 +02:00
Anders Ingemann
a4bd52bf9e Check for termination string in ec2 tests
Pretty much copy&paste from vbox
2015-04-16 22:22:48 +02:00
Anders Ingemann
53c9eb572e Support testing of EC2 S3 backed instances 2015-04-16 22:22:48 +02:00
Anders Ingemann
6726df1c91 Simplify test harness architecture
by reducing the amount of interfacing between generic and provider specific code
2015-04-16 22:22:48 +02:00
Anders Ingemann
287c5441ce All ebs backed hvm image combinations are now working! 2015-04-16 22:22:48 +02:00
Anders Ingemann
0b49943383 Add some logging to the test harness 2015-04-16 22:22:48 +02:00
Anders Ingemann
b843cbe089 Remove skipped tests that test functionality that'll probably never be implemented 2015-04-16 22:22:47 +02:00
Anders Ingemann
e47d67bc4f Launch ec2 test instances inside a VPC 2015-04-16 22:22:46 +02:00
Anders Ingemann
c18e8800b5 Simplify ebs_pvm test suite 2015-04-16 22:22:46 +02:00
Anders Ingemann
59f19fe164 Rename ec2 testsuite to ec2_ebs_pvm 2015-04-16 22:22:46 +02:00
Anders Ingemann
29fd2d928a Add tests for all ebs 64 bit pvgrub booted instances 2015-04-16 22:22:46 +02:00
Anders Ingemann
694f46923b Fix snapshot deletion on AMI testing cleanup 2015-04-16 22:22:26 +02:00
Anders Ingemann
e9736f58a8 Add _stable to vbox test names, that test Debian stable 2015-04-16 22:22:26 +02:00
Anders Ingemann
b33577a023 Remove ec2 default instance type 2015-04-16 22:22:26 +02:00