this checks that the software can be installed, an instance can be created and that all promise pass, maybe that's the intention ? if that's the case it would be good to add a comment. Also, it's better if we can assert something
this checks that the software can be installed, an instance can be created and that all promise pass, maybe that's the intention ? if that's the case it would be good to add a comment. Also, it's better if we can assert something
Of course this can be improved a lot, but that seems like good starting point.
In such case I assert at least that all expected files in `etc/plugin` are created, like:
```
self.assertTrue(os.path.exists(os.path.join(self.computer_partition_root_path, 'etc', 'plugin', 'promise.py'))
```
and with `assertIn` one can assure a bit their content, like:
```
self.assertIn('from slapos.promise.plugin.check_certificate import RunPromise', promise_content)
```
Of course this can be improved a lot, but that seems like good starting point.