fix some tests after the py/_py split
--HG-- branch : trunk
This commit is contained in:
		
							parent
							
								
									f10bfbb7e5
								
							
						
					
					
						commit
						90f39426b4
					
				|  | @ -50,7 +50,7 @@ class TestDistOptions: | ||||||
|     def test_getrsyncdirs(self, testdir): |     def test_getrsyncdirs(self, testdir): | ||||||
|         config = testdir.parseconfigure('--rsyncdir=' + str(testdir.tmpdir)) |         config = testdir.parseconfigure('--rsyncdir=' + str(testdir.tmpdir)) | ||||||
|         roots = config.getrsyncdirs() |         roots = config.getrsyncdirs() | ||||||
|         assert len(roots) == 1 + 1  |         assert len(roots) == 1 + 2 | ||||||
|         assert testdir.tmpdir in roots |         assert testdir.tmpdir in roots | ||||||
| 
 | 
 | ||||||
|     def test_getrsyncdirs_with_conftest(self, testdir): |     def test_getrsyncdirs_with_conftest(self, testdir): | ||||||
|  | @ -62,7 +62,7 @@ class TestDistOptions: | ||||||
|         """) |         """) | ||||||
|         config = testdir.parseconfigure(testdir.tmpdir, '--rsyncdir=y', '--rsyncdir=z') |         config = testdir.parseconfigure(testdir.tmpdir, '--rsyncdir=y', '--rsyncdir=z') | ||||||
|         roots = config.getrsyncdirs() |         roots = config.getrsyncdirs() | ||||||
|         assert len(roots) == 3 + 1  |         assert len(roots) == 3 + 2 | ||||||
|         assert py.path.local('y') in roots  |         assert py.path.local('y') in roots  | ||||||
|         assert py.path.local('z') in roots  |         assert py.path.local('z') in roots  | ||||||
|         assert testdir.tmpdir.join('x') in roots  |         assert testdir.tmpdir.join('x') in roots  | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue