Remove test code in utils

This commit is contained in:
Einar Forselv 2019-04-16 02:22:23 +02:00
parent ab160b3eaa
commit 1e43c91d85
1 changed files with 1 additions and 2 deletions

View File

@ -1,12 +1,11 @@
import docker
import pprint
from restic_volume_backup.config import Config
def list_containers():
"""Easily mockable container list"""
client = docker.Client(base_url=Config.docker_base_url)
all_containers = client.containers()
pprint.pprint(all_containers, indent=2)
client.close()
return all_containers