Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (16 sloc) 0.529 kb
import unittest
from nose.config import Config
from nose.plugins.builtin import TestId
import mock
class TestTestIdPlugin(unittest.TestCase):
def test_default_id_file_is_in_working_dir(self):
tid = TestId()
c = Config()
opt = mock.Bucket()
opt.testIdFile = '.noseids'
tid.configure(opt, c)
print tid.idfile
assert tid.idfile.startswith(c.workingDir), \
"%s is not under %s" % (tid.idfile, c.workingDir)
if __name__ == '__main__':
unittest.main()
Jump to Line
Something went wrong with that request. Please try again.