mirror of
				https://github.com/TheLocehiliosan/yadm
				synced 2025-06-13 13:03:58 +00:00 
			
		
		
		
	Issue legacy path warnings to stderr
To make it possible to ignore the warning e.g. when running yadm introspect repo in the bash completion.
This commit is contained in:
		
							parent
							
								
									df2ff5ec70
								
							
						
					
					
						commit
						5e9c5cf66c
					
				| @ -34,8 +34,8 @@ def test_legacy_warning(tmpdir, runner, yadm, upgrade, override, legacy_path): | |||||||
|     """ |     """ | ||||||
|     run = runner(command=['bash'], inp=script) |     run = runner(command=['bash'], inp=script) | ||||||
|     assert run.success |     assert run.success | ||||||
|     assert run.err == '' |     assert run.out == '' | ||||||
|     if legacy_path and (not upgrade) and (not override): |     if legacy_path and (not upgrade) and (not override): | ||||||
|         assert 'Legacy paths have been detected' in run.out |         assert 'Legacy paths have been detected' in run.err | ||||||
|     else: |     else: | ||||||
|         assert 'Legacy paths have been detected' not in run.out |         assert 'Legacy paths have been detected' not in run.err | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user