Commit Graph

7 Commits

Author SHA1 Message Date
Ghanshyam Mann a43311b7ef Retire Tripleo: remove repo content
TripleO project is retiring
- https://review.opendev.org/c/openstack/governance/+/905145

this commit remove the content of this project repo

Change-Id: Ic209179b0be9c3746a702ccea2dd35e883e78bee
2024-02-24 11:43:49 -08:00
Alex Schultz a7837c9430 Add python jobs to tripleo-image-elements
This change also fixes the python tests to properly mock the path so our
stubs work if the command already exists on the system path.

Change-Id: I7c54b1d99e7cf6c4e3f4ded8c518bf447b2ba1de
2018-05-31 10:50:16 -06:00
Gonéri Le Bouder e58007c9c4 tox: fix the test suite
fix pep8 syntax (H904 Wrap long lines in parentheses instead of a backslash).

fix two regressions in test_os_svc_daemon.py introduced by
    Ibd491881d79160ad1457526d51512f5fc1cf9ea5:
  - ensure os-svc-daemon won't try to write in /etc/os-logging by passing
    the “-l” extra parameter.
  - fix the test_standard_upstart test from test_os_svc_daemon.py to
     match the expected outpout.

Change-Id: I113504947d126e9d91409f97f8291d5b8fc15c42
2015-02-02 12:05:21 +00:00
Jenkins 4562892fcf Merge "PEP8 on the doc and elements files" 2014-08-20 23:13:04 +00:00
Gonéri Le Bouder 0172b5aacc PEP8 on the doc and elements files
ensure the Python scripts in the doc and elements directories are PEP8
compliant.

test_os_svc_daemon.py test is fixed in another patch:
  I9b1859f9fc5846c7c42606644231105618e1a1a0.

Change-Id: If5068ef77d6643c19de36bfcf4b4bf790f86b538
2014-08-19 10:02:00 +02:00
Gonéri Le Bouder 553eef04e2 fix: test_os_svc_daemon.py
Since I6487d0726db08912eed3062dfee2552940eadcfb, a ExecStartPre call
is added in the systemd .service file.
This patch adjust test_os_svc_daemon.py.

For the record, the remaining PEP8 error is fixed in
If5068ef77d6643c19de36bfcf4b4bf790f86b538.

Change-Id: I9b1859f9fc5846c7c42606644231105618e1a1a0
2014-08-18 14:08:12 +02:00
Ben Nemec 79f224d04a Add unit tests for os-svc-daemon
Adds a set of unit tests for os-svc-daemon to verify the output
of running it with various options.  Includes a base test class
with some convenience functions for testing scripts.

Change-Id: Id54291686d39ab1b9f0ce4848a2fcf3c18a9ea18
2014-03-28 19:55:29 -05:00