mirror of
https://github.com/psy0rz/zfs_autobackup.git
synced 2025-06-03 01:30:57 +03:00
moved testing to a better place
This commit is contained in:
parent
6f6a2ceee2
commit
c864e5ffad
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ build/
|
|||||||
zfs_autobackup.egg-info
|
zfs_autobackup.egg-info
|
||||||
.eggs/
|
.eggs/
|
||||||
__pycache__
|
__pycache__
|
||||||
|
.coverage
|
||||||
|
3
run_tests
Executable file
3
run_tests
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
coverage run --source bin.zfs_autobackup -m unittest ; coverage report
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#default test stuff
|
#default test stuff
|
||||||
import unittest
|
import unittest
|
||||||
from zfs_autobackup import *
|
from bin.zfs_autobackup import *
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
import time
|
import time
|
@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
#default test stuff
|
#default test stuff
|
||||||
import unittest
|
import unittest
|
||||||
from zfs_autobackup import *
|
from bin.zfs_autobackup import *
|
||||||
|
|
||||||
#test specific
|
#test specific
|
||||||
import random
|
import random
|
Loading…
x
Reference in New Issue
Block a user