예제 #1
0
 def test_no_drivers(self):
     p = Package(pj('path', 'to', 'foo'), ['bar'], [{ 'driver': None }])
     assert([] == list(p.drivers()))
예제 #2
0
 def test_no_drivers(self):
     p = Package(pj('path', 'to', 'foo'), ['bar'], [{ 'driver': None }])
     assert([] == list(p.drivers()))
예제 #3
0
 def test_drivers(self):
     p = Package(pj('path', 'to', 'foo'), ['bar'], [{ 'driver': 'baz'}])
     assert(['baz'] == list(p.drivers()))
예제 #4
0
 def test_drivers(self):
     p = Package(pj('path', 'to', 'foo'), ['bar'], [{ 'driver': 'baz'}])
     assert(['baz'] == list(p.drivers()))