예제 #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")