Broken test intialization
This commit is contained in:
parent
4517880846
commit
bbe57dfd69
|
@ -3,6 +3,9 @@ import os
|
||||||
import unittest
|
import unittest
|
||||||
from unittest import mock
|
from unittest import mock
|
||||||
|
|
||||||
|
os.environ['RESTIC_REPOSITORY'] = "test"
|
||||||
|
os.environ['RESTIC_PASSWORD'] = "password"
|
||||||
|
|
||||||
from restic_compose_backup import utils
|
from restic_compose_backup import utils
|
||||||
from restic_compose_backup.containers import RunningContainers
|
from restic_compose_backup.containers import RunningContainers
|
||||||
import fixtures
|
import fixtures
|
||||||
|
@ -15,8 +18,8 @@ class ResticBackupTests(unittest.TestCase):
|
||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
"""Set up basic environment variables"""
|
"""Set up basic environment variables"""
|
||||||
os.environ['RESTIC_REPOSITORY'] = "test"
|
# os.environ['RESTIC_REPOSITORY'] = "test"
|
||||||
os.environ['RESTIC_PASSWORD'] = "password"
|
# os.environ['RESTIC_PASSWORD'] = "password"
|
||||||
|
|
||||||
def createContainers(self):
|
def createContainers(self):
|
||||||
backup_hash = fixtures.generate_sha256()
|
backup_hash = fixtures.generate_sha256()
|
||||||
|
|
Loading…
Reference in New Issue