2019-03-16 07:46:03 -07:00
|
|
|
"""
|
|
|
|
.. author:: Eric Torres
|
|
|
|
|
|
|
|
Unit tests for the Snapshot class.
|
|
|
|
"""
|
|
|
|
import doctest
|
|
|
|
import unittest
|
|
|
|
|
|
|
|
from rbackup.hierarchy.snapshot import Snapshot
|
|
|
|
|
|
|
|
# ========== Constants ==========
|
2019-03-18 05:29:35 -07:00
|
|
|
TESTING_MODULE = "rbackup.hierarchy.snapshot"
|
2019-03-16 07:46:03 -07:00
|
|
|
|
2019-03-17 18:21:04 -07:00
|
|
|
|
2019-03-16 07:46:03 -07:00
|
|
|
# ========== Functions ==========
|
|
|
|
def load_tests(loader, tests, ignore):
|
|
|
|
tests.addTests(doctest.DocTestSuite(TESTING_MODULE))
|
|
|
|
return tests
|
2019-03-29 15:26:35 -07:00
|
|
|
|
|
|
|
|
|
|
|
# ========== Unit Tests ==========
|