1
0
mirror of https://github.com/projectatomic/atomic.git synced 2026-02-06 03:45:28 +01:00

8 Commits

Author SHA1 Message Date
Tomas Tomecek
805b955ed5 mount: create context manager for {Docker,OSTree}Mount
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>

Closes: #976
Approved by: rhatdan
2017-04-24 20:29:15 +00:00
Giuseppe Scrivano
8641532d9a mount: use wrapper for AtomicDocker.info
AtomicDocker.info cannot be modified, as  AtomicDocker.__getattribute__
always maps it to docker.AutoVersionClient, so use a `_info` wrapper
that can be used by tests.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

Closes: #503
Approved by: cgwalters
2016-07-29 10:50:54 +00:00
Giuseppe Scrivano
1ed3c6d344 tests: fix deprecated method usage
it would print an error message at runtime as well, not only a pylint
issue.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

Closes: #503
Approved by: cgwalters
2016-07-29 10:50:54 +00:00
Giuseppe Scrivano
896b90d08c atomic: fix a few file descriptors leaks
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>

Closes: #503
Approved by: cgwalters
2016-07-29 10:50:54 +00:00
Dan Walsh
17e887ace7 Lots of cleanups for pylint and python3-lint warnings
Closes: #463
Approved by: jlebon
2016-07-14 22:02:54 +00:00
Dan Walsh
ba2330ea60 Label temporary containers with /usr label
Also rework Atomic/mount.py to be a subclass of Atomic class
2016-05-02 11:43:14 -04:00
William Temple
179a1211f8 PEP8 (Python style guide) Compliance
Signed-off-by: William Temple <wtemple@redhat.com>
2015-07-29 12:44:31 -04:00
William Temple
844cc4512d New test framework.
Signed-off-by: William Temple <wtemple@redhat.com>
2015-07-10 14:09:37 -04:00