Previously, ToddlerBase and derived classes were used directly, but none
of the methods is marked as a class or static method. Amazingly enough,
it worked regardless. It's useful to have a constructor, though, so do
things conventionally.
As we can't just monkey-patch the classes then, use the shared `toddler`
fixture which creates the object for the test methods that need it.
Signed-off-by: Nils Philippsen <nils@redhat.com>
Depending on how the tests are run (`pytest`, `python -m pytest`, ...),
the program name can be e.g. `pytest` or `pytest.py`. Relax the relevant
tests a bit, this way we don't have to update them every time we change
something related to CLI arguments either.
Signed-off-by: Nils Philippsen <nils@redhat.com>
This toddler is meant to be triggered by playtime at regular intervals
and will sync the packager accounts to bugzilla so they can edit flags
on Fedora bugs (for example).
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>