moved testing to a better place

This commit is contained in:
Edwin Eefting 2020-05-12 17:47:31 +02:00
parent 6f6a2ceee2
commit c864e5ffad
4 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ build/
zfs_autobackup.egg-info
.eggs/
__pycache__
.coverage

3
run_tests Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
coverage run --source bin.zfs_autobackup -m unittest ; coverage report

View File

@ -1,7 +1,7 @@
#default test stuff
import unittest
from zfs_autobackup import *
from bin.zfs_autobackup import *
import subprocess
import time

View File

@ -1,7 +1,7 @@
#default test stuff
import unittest
from zfs_autobackup import *
from bin.zfs_autobackup import *
#test specific
import random