nottest decorator is exactly what you need:
nose.tools.nottest(func)
Decorator to mark a function or method as not a test
from nose.tools import nottest
@nottest
def test_server_init():
drop_all_tables()
To exclude a file or a directory from being picked up by the nose test discovery, see: