| 367 |
| 368 |
| 369 |
| 370 |
| 371 |
| 372 |
| 373 |
| 374 |
| 375 | |
def test__getcol_global_dir(self): |
x = self.tmpdir.ensure("a", dir=1) |
config = py.test.config._reparse([x]) |
col = config._getcollector(x) |
assert isinstance(col, py.test.collect.Directory) |
-> print col.listchain() |
assert col.name == 'a' |
assert col.parent is None |
assert col._config is config | |