2014-03-31 22:28:54 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
2017-11-30 18:33:11 +00:00
|
|
|
# Copyright 2012 - 2017, New York University and the TUF contributors
|
|
|
|
|
# SPDX-License-Identifier: MIT OR Apache-2.0
|
|
|
|
|
|
2013-03-14 20:48:36 +00:00
|
|
|
"""
|
|
|
|
|
<Program Name>
|
|
|
|
|
test_arbitrary_package_attack.py
|
|
|
|
|
|
|
|
|
|
<Author>
|
2014-03-31 22:28:54 +00:00
|
|
|
Konstantin Andrianov.
|
2013-03-14 20:48:36 +00:00
|
|
|
|
|
|
|
|
<Started>
|
2014-03-31 22:28:54 +00:00
|
|
|
February 22, 2012.
|
|
|
|
|
|
|
|
|
|
March 21, 2014.
|
|
|
|
|
Refactored to use the 'unittest' module (test conditions in code, rather
|
|
|
|
|
than verifying text output), use pre-generated repository files, and
|
|
|
|
|
discontinue use of the old repository tools. -vladimir.v.diaz
|
2013-03-14 20:48:36 +00:00
|
|
|
|
|
|
|
|
<Copyright>
|
2018-02-05 16:31:19 +00:00
|
|
|
See LICENSE-MIT OR LICENSE for licensing information.
|
2013-03-14 20:48:36 +00:00
|
|
|
|
|
|
|
|
<Purpose>
|
2014-03-31 22:28:54 +00:00
|
|
|
Simulate an arbitrary package attack, where an updater client attempts to
|
2017-01-11 21:41:13 +00:00
|
|
|
download a malicious file. TUF and non-TUF client scenarios are tested.
|
2013-09-18 00:20:55 +00:00
|
|
|
|
|
|
|
|
There is no difference between 'updates' and 'target' files.
|
2013-03-14 20:48:36 +00:00
|
|
|
"""
|
|
|
|
|
|
2014-04-29 18:27:34 +00:00
|
|
|
# Help with Python 3 compatibility, where the print statement is a function, an
|
2013-09-24 00:52:16 +00:00
|
|
|
# implicit relative import is invalid, and the '/' operator performs true
|
|
|
|
|
# division. Example: print 'hello world' raises a 'SyntaxError' exception.
|
|
|
|
|
from __future__ import print_function
|
|
|
|
|
from __future__ import absolute_import
|
|
|
|
|
from __future__ import division
|
2014-04-29 18:27:34 +00:00
|
|
|
from __future__ import unicode_literals
|
2013-09-24 00:52:16 +00:00
|
|
|
|
2013-03-14 20:48:36 +00:00
|
|
|
import os
|
2014-03-31 22:28:54 +00:00
|
|
|
import tempfile
|
|
|
|
|
import shutil
|
|
|
|
|
import json
|
|
|
|
|
import logging
|
2017-09-21 21:16:29 +00:00
|
|
|
import unittest
|
2020-09-15 15:05:51 +00:00
|
|
|
import sys
|
2013-03-14 20:48:36 +00:00
|
|
|
|
2013-03-15 17:11:07 +00:00
|
|
|
import tuf
|
2016-11-09 22:10:05 +00:00
|
|
|
import tuf.formats
|
2016-07-11 17:53:16 +00:00
|
|
|
import tuf.roledb
|
2017-01-11 21:41:13 +00:00
|
|
|
import tuf.keydb
|
2014-03-31 22:28:54 +00:00
|
|
|
import tuf.log
|
|
|
|
|
import tuf.client.updater as updater
|
2014-04-20 20:15:19 +00:00
|
|
|
import tuf.unittest_toolbox as unittest_toolbox
|
2015-06-02 14:28:02 +00:00
|
|
|
|
2020-11-19 12:45:09 +00:00
|
|
|
from tests import utils
|
2020-08-03 17:58:02 +00:00
|
|
|
|
2017-01-11 21:41:13 +00:00
|
|
|
import securesystemslib
|
2015-06-02 14:28:02 +00:00
|
|
|
import six
|
2013-03-14 20:48:36 +00:00
|
|
|
|
2020-03-02 20:43:43 +00:00
|
|
|
logger = logging.getLogger(__name__)
|
2013-03-15 17:11:07 +00:00
|
|
|
|
|
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
class TestArbitraryPackageAttack(unittest_toolbox.Modified_TestCase):
|
2013-03-14 20:48:36 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
@classmethod
|
|
|
|
|
def setUpClass(cls):
|
|
|
|
|
# Create a temporary directory to store the repository, metadata, and target
|
|
|
|
|
# files. 'temporary_directory' must be deleted in TearDownModule() so that
|
2017-01-11 21:41:13 +00:00
|
|
|
# temporary files are always removed, even when exceptions occur.
|
2014-03-31 22:28:54 +00:00
|
|
|
cls.temporary_directory = tempfile.mkdtemp(dir=os.getcwd())
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# Launch a SimpleHTTPServer (serves files in the current directory).
|
|
|
|
|
# Test cases will request metadata and target files that have been
|
|
|
|
|
# pre-generated in 'tuf/tests/repository_data', which will be served by the
|
2017-01-11 21:41:13 +00:00
|
|
|
# SimpleHTTPServer launched here. The test cases of this unit test assume
|
2014-03-31 22:28:54 +00:00
|
|
|
# the pre-generated metadata files have a specific structure, such
|
|
|
|
|
# as a delegated role 'targets/role1', three target files, five key files,
|
|
|
|
|
# etc.
|
2020-09-03 12:00:15 +00:00
|
|
|
cls.server_process_handler = utils.TestServerProcess(log=logger)
|
2014-03-31 22:28:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2017-01-11 21:41:13 +00:00
|
|
|
@classmethod
|
2014-03-31 22:28:54 +00:00
|
|
|
def tearDownClass(cls):
|
2020-11-06 14:40:46 +00:00
|
|
|
# Cleans the resources and flush the logged lines (if any).
|
2020-09-24 10:19:27 +00:00
|
|
|
cls.server_process_handler.clean()
|
|
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# Remove the temporary repository directory, which should contain all the
|
2014-04-01 12:33:23 +00:00
|
|
|
# metadata, targets, and key files generated of all the test cases.
|
2014-03-31 22:28:54 +00:00
|
|
|
shutil.rmtree(cls.temporary_directory)
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def setUp(self):
|
|
|
|
|
# We are inheriting from custom class.
|
|
|
|
|
unittest_toolbox.Modified_TestCase.setUp(self)
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2017-10-17 20:16:48 +00:00
|
|
|
self.repository_name = 'test_repository1'
|
2017-02-06 21:19:58 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# Copy the original repository files provided in the test folder so that
|
|
|
|
|
# any modifications made to repository files are restricted to the copies.
|
|
|
|
|
# The 'repository_data' directory is expected to exist in 'tuf/tests/'.
|
2017-01-11 21:41:13 +00:00
|
|
|
original_repository_files = os.path.join(os.getcwd(), 'repository_data')
|
2014-03-31 22:28:54 +00:00
|
|
|
temporary_repository_root = \
|
|
|
|
|
self.make_temp_directory(directory=self.temporary_directory)
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# The original repository, keystore, and client directories will be copied
|
2017-01-11 21:41:13 +00:00
|
|
|
# for each test case.
|
2014-03-31 22:28:54 +00:00
|
|
|
original_repository = os.path.join(original_repository_files, 'repository')
|
|
|
|
|
original_client = os.path.join(original_repository_files, 'client')
|
|
|
|
|
|
|
|
|
|
# Save references to the often-needed client repository directories.
|
2017-01-11 21:41:13 +00:00
|
|
|
# Test cases need these references to access metadata and target files.
|
2014-03-31 22:28:54 +00:00
|
|
|
self.repository_directory = \
|
|
|
|
|
os.path.join(temporary_repository_root, 'repository')
|
|
|
|
|
self.client_directory = os.path.join(temporary_repository_root, 'client')
|
|
|
|
|
|
|
|
|
|
# Copy the original 'repository', 'client', and 'keystore' directories
|
|
|
|
|
# to the temporary repository the test cases can use.
|
|
|
|
|
shutil.copytree(original_repository, self.repository_directory)
|
|
|
|
|
shutil.copytree(original_client, self.client_directory)
|
|
|
|
|
|
2014-04-01 12:33:23 +00:00
|
|
|
# Set the url prefix required by the 'tuf/client/updater.py' updater.
|
2017-01-11 21:41:13 +00:00
|
|
|
# 'path/to/tmp/repository' -> 'localhost:8001/tmp/repository'.
|
2014-03-31 22:28:54 +00:00
|
|
|
repository_basepath = self.repository_directory[len(os.getcwd()):]
|
2020-09-03 12:00:15 +00:00
|
|
|
url_prefix = 'http://localhost:' \
|
|
|
|
|
+ str(self.server_process_handler.port) + repository_basepath
|
2017-01-11 21:41:13 +00:00
|
|
|
|
|
|
|
|
# Setting 'tuf.settings.repository_directory' with the temporary client
|
2014-03-31 22:28:54 +00:00
|
|
|
# directory copied from the original repository files.
|
2017-02-06 21:19:58 +00:00
|
|
|
tuf.settings.repositories_directory = self.client_directory
|
2014-03-31 22:28:54 +00:00
|
|
|
self.repository_mirrors = {'mirror1': {'url_prefix': url_prefix,
|
|
|
|
|
'metadata_path': 'metadata',
|
2020-10-05 11:46:14 +00:00
|
|
|
'targets_path': 'targets'}}
|
2014-03-31 22:28:54 +00:00
|
|
|
|
2014-04-01 12:33:23 +00:00
|
|
|
# Create the repository instance. The test cases will use this client
|
2014-03-31 22:28:54 +00:00
|
|
|
# updater to refresh metadata, fetch target files, etc.
|
2017-02-06 21:19:58 +00:00
|
|
|
self.repository_updater = updater.Updater(self.repository_name,
|
2014-03-31 22:28:54 +00:00
|
|
|
self.repository_mirrors)
|
|
|
|
|
|
|
|
|
|
|
2020-09-03 12:00:15 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
def tearDown(self):
|
2014-04-01 12:33:23 +00:00
|
|
|
# Modified_TestCase.tearDown() automatically deletes temporary files and
|
|
|
|
|
# directories that may have been created during each test case.
|
2014-03-31 22:28:54 +00:00
|
|
|
unittest_toolbox.Modified_TestCase.tearDown(self)
|
2017-10-17 20:16:48 +00:00
|
|
|
# updater.Updater() populates the roledb with the name "test_repository1"
|
2016-07-15 17:53:31 +00:00
|
|
|
tuf.roledb.clear_roledb(clear_all=True)
|
2017-01-11 21:41:13 +00:00
|
|
|
tuf.keydb.clear_keydb(clear_all=True)
|
2014-03-31 22:28:54 +00:00
|
|
|
|
2020-09-03 12:00:15 +00:00
|
|
|
# Logs stdout and stderr from the sever subprocess.
|
|
|
|
|
self.server_process_handler.flush_log()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
def test_without_tuf(self):
|
2014-04-01 12:33:23 +00:00
|
|
|
# Verify that a target file replaced with a malicious version is downloaded
|
|
|
|
|
# by a non-TUF client (i.e., a non-TUF client that does not verify hashes,
|
|
|
|
|
# detect mix-and-mix attacks, etc.) A tuf client, on the other hand, should
|
|
|
|
|
# detect that the downloaded target file is invalid.
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# Test: Download a valid target file from the repository.
|
|
|
|
|
# Ensure the target file to be downloaded has not already been downloaded,
|
2014-04-01 12:33:23 +00:00
|
|
|
# and generate its file size and digest. The file size and digest is needed
|
|
|
|
|
# to check that the malicious file was indeed downloaded.
|
2014-03-31 22:28:54 +00:00
|
|
|
target_path = os.path.join(self.repository_directory, 'targets', 'file1.txt')
|
2017-01-11 21:41:13 +00:00
|
|
|
client_target_path = os.path.join(self.client_directory, 'file1.txt')
|
2014-03-31 22:28:54 +00:00
|
|
|
self.assertFalse(os.path.exists(client_target_path))
|
2017-01-11 21:41:13 +00:00
|
|
|
length, hashes = securesystemslib.util.get_file_details(target_path)
|
2020-05-20 20:13:03 +00:00
|
|
|
fileinfo = tuf.formats.make_targets_fileinfo(length, hashes)
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
url_prefix = self.repository_mirrors['mirror1']['url_prefix']
|
|
|
|
|
url_file = os.path.join(url_prefix, 'targets', 'file1.txt')
|
2018-04-19 14:48:19 +00:00
|
|
|
|
|
|
|
|
# On Windows, the URL portion should not contain back slashes.
|
|
|
|
|
six.moves.urllib.request.urlretrieve(url_file.replace('\\', '/'), client_target_path)
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
self.assertTrue(os.path.exists(client_target_path))
|
2017-01-11 21:41:13 +00:00
|
|
|
length, hashes = securesystemslib.util.get_file_details(client_target_path)
|
2020-05-20 20:13:03 +00:00
|
|
|
download_fileinfo = tuf.formats.make_targets_fileinfo(length, hashes)
|
2014-03-31 22:28:54 +00:00
|
|
|
self.assertEqual(fileinfo, download_fileinfo)
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# Test: Download a target file that has been modified by an attacker.
|
2014-05-27 17:55:48 +00:00
|
|
|
with open(target_path, 'wt') as file_object:
|
2014-03-31 22:28:54 +00:00
|
|
|
file_object.write('add malicious content.')
|
2017-01-11 21:41:13 +00:00
|
|
|
length, hashes = securesystemslib.util.get_file_details(target_path)
|
2020-05-20 20:13:03 +00:00
|
|
|
malicious_fileinfo = tuf.formats.make_targets_fileinfo(length, hashes)
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2018-04-19 14:48:19 +00:00
|
|
|
# On Windows, the URL portion should not contain back slashes.
|
|
|
|
|
six.moves.urllib.request.urlretrieve(url_file.replace('\\', '/'), client_target_path)
|
2017-01-11 21:41:13 +00:00
|
|
|
|
|
|
|
|
length, hashes = securesystemslib.util.get_file_details(client_target_path)
|
2020-05-20 20:13:03 +00:00
|
|
|
download_fileinfo = tuf.formats.make_targets_fileinfo(length, hashes)
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# Verify 'download_fileinfo' is unequal to the original trusted version.
|
|
|
|
|
self.assertNotEqual(download_fileinfo, fileinfo)
|
2013-03-14 20:48:36 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# Verify 'download_fileinfo' is equal to the malicious version.
|
|
|
|
|
self.assertEqual(download_fileinfo, malicious_fileinfo)
|
2013-03-14 20:48:36 +00:00
|
|
|
|
2013-03-15 17:11:07 +00:00
|
|
|
|
2013-03-14 20:48:36 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
def test_with_tuf(self):
|
2014-04-01 12:33:23 +00:00
|
|
|
# Verify that a target file (on the remote repository) modified by an
|
|
|
|
|
# attacker is not downloaded by the TUF client.
|
2014-03-31 22:28:54 +00:00
|
|
|
# First test that the valid target file is successfully downloaded.
|
2016-11-07 17:33:08 +00:00
|
|
|
file1_fileinfo = self.repository_updater.get_one_valid_targetinfo('file1.txt')
|
2014-03-31 22:28:54 +00:00
|
|
|
destination = os.path.join(self.client_directory)
|
|
|
|
|
self.repository_updater.download_target(file1_fileinfo, destination)
|
2014-04-01 12:33:23 +00:00
|
|
|
client_target_path = os.path.join(destination, 'file1.txt')
|
2014-03-31 22:28:54 +00:00
|
|
|
self.assertTrue(os.path.exists(client_target_path))
|
2013-03-14 20:48:36 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# Modify 'file1.txt' and confirm that the TUF client rejects it.
|
|
|
|
|
target_path = os.path.join(self.repository_directory, 'targets', 'file1.txt')
|
2014-05-27 17:55:48 +00:00
|
|
|
with open(target_path, 'wt') as file_object:
|
2016-10-10 21:34:00 +00:00
|
|
|
file_object.write('malicious content, size 33 bytes.')
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
try:
|
|
|
|
|
self.repository_updater.download_target(file1_fileinfo, destination)
|
2017-01-11 21:41:13 +00:00
|
|
|
|
|
|
|
|
except tuf.exceptions.NoWorkingMirrorError as exception:
|
2014-03-31 22:28:54 +00:00
|
|
|
url_prefix = self.repository_mirrors['mirror1']['url_prefix']
|
|
|
|
|
url_file = os.path.join(url_prefix, 'targets', 'file1.txt')
|
|
|
|
|
|
2014-04-01 12:33:23 +00:00
|
|
|
# Verify that only one exception is raised for 'url_file'.
|
2014-03-31 22:28:54 +00:00
|
|
|
self.assertTrue(len(exception.mirror_errors), 1)
|
|
|
|
|
|
2017-01-11 21:41:13 +00:00
|
|
|
# Verify that the expected 'tuf.exceptions.DownloadLengthMismatchError' exception
|
2014-03-31 22:28:54 +00:00
|
|
|
# is raised for 'url_file'.
|
2018-04-20 14:58:23 +00:00
|
|
|
self.assertTrue(url_file.replace('\\', '/') in exception.mirror_errors)
|
|
|
|
|
self.assertTrue(
|
|
|
|
|
isinstance(exception.mirror_errors[url_file.replace('\\', '/')],
|
|
|
|
|
securesystemslib.exceptions.BadHashError))
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2014-04-06 01:21:10 +00:00
|
|
|
else:
|
|
|
|
|
self.fail('TUF did not prevent an arbitrary package attack.')
|
2017-01-11 21:41:13 +00:00
|
|
|
|
|
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
def test_with_tuf_and_metadata_tampering(self):
|
2014-04-01 12:33:23 +00:00
|
|
|
# Test that a TUF client does not download a malicious target file, and a
|
|
|
|
|
# 'targets.json' metadata file that has also been modified by the attacker.
|
|
|
|
|
# The attacker does not attach a valid signature to 'targets.json'
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# An attacker modifies 'file1.txt'.
|
|
|
|
|
target_path = os.path.join(self.repository_directory, 'targets', 'file1.txt')
|
2014-05-27 17:55:48 +00:00
|
|
|
with open(target_path, 'wt') as file_object:
|
2016-10-10 21:34:00 +00:00
|
|
|
file_object.write('malicious content, size 33 bytes.')
|
2013-03-15 17:11:07 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# An attacker also tries to add the malicious target's length and digest
|
|
|
|
|
# to its metadata file.
|
2017-01-11 21:41:13 +00:00
|
|
|
length, hashes = securesystemslib.util.get_file_details(target_path)
|
2013-03-15 17:11:07 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
metadata_path = \
|
|
|
|
|
os.path.join(self.repository_directory, 'metadata', 'targets.json')
|
2017-01-11 21:41:13 +00:00
|
|
|
|
|
|
|
|
metadata = securesystemslib.util.load_json_file(metadata_path)
|
2018-04-06 17:18:33 +00:00
|
|
|
metadata['signed']['targets']['file1.txt']['hashes'] = hashes
|
|
|
|
|
metadata['signed']['targets']['file1.txt']['length'] = length
|
2013-03-14 20:48:36 +00:00
|
|
|
|
2017-01-11 21:41:13 +00:00
|
|
|
tuf.formats.check_signable_object_format(metadata)
|
|
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
with open(metadata_path, 'wb') as file_object:
|
2017-09-22 15:04:47 +00:00
|
|
|
file_object.write(json.dumps(metadata, indent=1,
|
|
|
|
|
separators=(',', ': '), sort_keys=True).encode('utf-8'))
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# Verify that the malicious 'targets.json' is not downloaded. Perform
|
|
|
|
|
# a refresh of top-level metadata to demonstrate that the malicious
|
|
|
|
|
# 'targets.json' is not downloaded.
|
2013-03-15 17:11:07 +00:00
|
|
|
try:
|
2014-03-31 22:28:54 +00:00
|
|
|
self.repository_updater.refresh()
|
2016-11-07 17:33:08 +00:00
|
|
|
file1_fileinfo = self.repository_updater.get_one_valid_targetinfo('file1.txt')
|
2014-03-31 22:28:54 +00:00
|
|
|
destination = os.path.join(self.client_directory)
|
|
|
|
|
self.repository_updater.download_target(file1_fileinfo, destination)
|
2017-01-11 21:41:13 +00:00
|
|
|
|
|
|
|
|
except tuf.exceptions.NoWorkingMirrorError as exception:
|
2014-03-31 22:28:54 +00:00
|
|
|
url_prefix = self.repository_mirrors['mirror1']['url_prefix']
|
|
|
|
|
url_file = os.path.join(url_prefix, 'targets', 'file1.txt')
|
2014-01-29 16:26:56 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# Verify that an exception raised for only the malicious 'url_file'.
|
|
|
|
|
self.assertTrue(len(exception.mirror_errors), 1)
|
2013-03-15 17:11:07 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
# Verify that the specific and expected mirror exception is raised.
|
2018-04-20 14:58:23 +00:00
|
|
|
self.assertTrue(url_file.replace('\\', '/') in exception.mirror_errors)
|
|
|
|
|
self.assertTrue(
|
|
|
|
|
isinstance(exception.mirror_errors[url_file.replace('\\', '/')],
|
|
|
|
|
securesystemslib.exceptions.BadHashError))
|
2017-01-11 21:41:13 +00:00
|
|
|
|
2014-04-06 01:21:10 +00:00
|
|
|
else:
|
|
|
|
|
self.fail('TUF did not prevent an arbitrary package attack.')
|
2013-03-15 17:11:07 +00:00
|
|
|
|
2014-01-27 18:35:11 +00:00
|
|
|
|
2014-03-31 22:28:54 +00:00
|
|
|
if __name__ == '__main__':
|
2020-09-15 15:05:51 +00:00
|
|
|
utils.configure_test_logging(sys.argv)
|
2014-03-31 22:28:54 +00:00
|
|
|
unittest.main()
|