diff options
| author | Scott Moser <smoser@ubuntu.com> | 2018-03-09 04:22:24 +0100 |
|---|---|---|
| committer | Chad Smith <chad.smith@canonical.com> | 2018-03-09 04:22:24 +0100 |
| commit | b7a790246e52520b47a467fe89b81199b9cf03f6 (patch) | |
| tree | f39c712b38233faad1896ef6de50b9f7a3a6bb6d /tests/unittests/test_datasource | |
| parent | 1e2e810f3f7cb6a163a0229ac37037e8c6744d72 (diff) | |
| download | vyos-cloud-init-b7a790246e52520b47a467fe89b81199b9cf03f6.tar.gz vyos-cloud-init-b7a790246e52520b47a467fe89b81199b9cf03f6.zip | |
shellify: raise TypeError on bad input.
This makes 2 changes to shellify's behavior:
a.) raise a TypeError rather than a RuntimeError.
b.) raise a TypeError if input is not a list or tuple.
Diffstat (limited to 'tests/unittests/test_datasource')
0 files changed, 0 insertions, 0 deletions
