zuul/tests
James E. Blair 77524b359c Fix reporting certain config syntax errors
Change I0421c5a446d0b75194096b1d8f0e0866dae3b8f0 began including
BranchMatcher objects instead of strings in the SourceContext class
if an implied-branches pragma was supplied.  If a syntax error
occurs in a repo with such a pragma, the source context needs to
be serialized to zk, and that would fail.  To correct this, add
serialization methods to the source context and branch matchers.

Also correct an unrelated error where the syntax "- job:" would
fail to report the error to the user because the value None was
added to the list of config objects, and we always assume that
is a dict.  To correct this, raise the syntax error earlier in
that case.

Change-Id: Id7c1dff5e9865d21c3215bdc32c8fa2cb6603aaa
2022-04-26 11:02:17 -07:00
..
fixtures Further no_job reporting fixes 2022-04-22 14:05:23 -07:00
remote Fix zuul client and remote tests 2021-06-24 11:36:17 -07:00
unit Fix reporting certain config syntax errors 2022-04-26 11:02:17 -07:00
zuul_client Remove rpcclient from test_zuulclient 2022-01-17 12:47:31 -08:00
__init__.py Add non-voting jobs. 2012-08-23 23:20:09 +00:00
base.py Merge "De-duplicate change dependencies" 2022-03-29 16:41:00 +00:00
encrypt_secret.py Make tests' encrypt_secret.py work with python3 2017-10-19 18:09:57 +00:00
fake_graphql.py Fetch can-merge info when updating a pull-request 2020-09-23 12:03:55 +02:00
fakegithub.py Include original path of renamed file for a PR 2022-03-09 08:20:52 +01:00
fakegitlab.py Add support for adding and removing labels in gitlab 2022-01-14 18:18:35 +00:00
make_playbooks.py Use libyaml if possible 2017-04-04 11:49:05 -07:00
print_layout.py Do not add implied branch matchers in project-templates 2017-09-30 10:19:07 -07:00