Add pull image docker function, and clear read/call token

This commit is contained in:
Aurelien Vaillant
2022-03-29 17:50:00 +02:00
parent 0ffaac7388
commit 12b0039d2a
2 changed files with 0 additions and 24 deletions
-10
View File
@@ -4,16 +4,6 @@ import sys
import zipfile
from .issue import ArchiveFolderSourceNotFound
from pathlib import Path
def read_token(file: str = 'token.txt') -> str:
"""From tests folder, return a token string, in a dedicated file"""
token_file = Path(os.getcwd(), 'tests', file)
with open(token_file, 'r') as f:
token = f.read()
return token
def generate_archive(list_clean: list, name: str):