Do not ship test suite with actual project
This commit is contained in:
21
tests/test_snapshot.py
Normal file
21
tests/test_snapshot.py
Normal file
@@ -0,0 +1,21 @@
|
||||
"""
|
||||
.. author:: Eric Torres
|
||||
|
||||
Unit tests for the Snapshot class.
|
||||
"""
|
||||
import doctest
|
||||
import unittest
|
||||
|
||||
from rbackup.hierarchy.snapshot import Snapshot
|
||||
|
||||
# ========== Constants ==========
|
||||
TESTING_MODULE = "rbackup.hierarchy.snapshot"
|
||||
|
||||
|
||||
# ========== Functions ==========
|
||||
def load_tests(loader, tests, ignore):
|
||||
tests.addTests(doctest.DocTestSuite(TESTING_MODULE))
|
||||
return tests
|
||||
|
||||
|
||||
# ========== Unit Tests ==========
|
Reference in New Issue
Block a user