示例#1
0
文件: test.py 项目: snua12/zlomekfs
#!/usr/bin/env python

""" Wrapper for nose usage under insecticide 
    (simple call this script instead of nosetests) 
"""

from insecticide.util import noseWrapper

noseWrapper(project="insecticide")
示例#2
0
文件: test.py 项目: snua12/zlomekfs
#!/usr/bin/env python

from insecticide.util import noseWrapper

noseWrapper(project = 'syplog', stripPath = 'src')
示例#3
0
文件: test.py 项目: snua12/zlomekfs
#!/usr/bin/env python

""" Wrapper for nose usage under insecticide 
    (simple call this script instead of nosetests) 
"""

from insecticide.util import noseWrapper

noseWrapper(project = 'insecticide')
示例#4
0
文件: test.py 项目: snua12/zlomekfs
#!/usr/bin/env python


from insecticide.util import noseWrapper


from signal import signal, SIGINT

def raiseKeyboardInterrupt(sig, stack):
    raise KeyboardInterrupt()#, None, extract_stack(stack)
    
# this is needed to enable SIGINT even in daemon mode
signal(SIGINT, raiseKeyboardInterrupt)

noseWrapper(project = 'zlomekfs', stripPath = 'tests/nose-tests')
示例#5
0
文件: test.py 项目: snua12/zlomekfs
#!/usr/bin/env python

from insecticide.util import noseWrapper

noseWrapper(project = 'zlomekfs', stripPath = 'zfsd')
示例#6
0
文件: test.py 项目: snua12/zlomekfs
#!/usr/bin/env python


from insecticide.util import noseWrapper


from signal import signal, SIGINT


def raiseKeyboardInterrupt(sig, stack):
    raise KeyboardInterrupt()  # , None, extract_stack(stack)


# this is needed to enable SIGINT even in daemon mode
signal(SIGINT, raiseKeyboardInterrupt)

noseWrapper(project="zlomekfs", stripPath="tests/nose-tests")