fixes
This commit is contained in:
		
							parent
							
								
									33184761b6
								
							
						
					
					
						commit
						1e263f05ba
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -1,4 +1,5 @@
 | 
			
		||||
**/.pytest_cache/
 | 
			
		||||
**/__pycache__/
 | 
			
		||||
.idea/
 | 
			
		||||
*.lock
 | 
			
		||||
*.iml
 | 
			
		||||
 | 
			
		||||
@ -18,6 +18,7 @@ if [[ "$PY" = "python3 not found" ]];
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
echo "PREPARING HOVERFLY INSTALLATION..."
 | 
			
		||||
# shellcheck disable=SC2039
 | 
			
		||||
if [[ "$HC" = "hoverctl not found" ]];
 | 
			
		||||
    then
 | 
			
		||||
        echo "HoverFly CLI binary not found. Attempting install now..."
 | 
			
		||||
 | 
			
		||||
@ -1,3 +1,4 @@
 | 
			
		||||
#!/usr/bin/env sh
 | 
			
		||||
 | 
			
		||||
pipenv run python -m pytest tests/test_hov.py --verbose --show-capture=all
 | 
			
		||||
pipenv run python3 app/simple.py
 | 
			
		||||
pipenv run python3 -m pytest tests/test_hov.py --verbose --show-capture=all
 | 
			
		||||
@ -8,11 +8,6 @@ class TestUsingHoverpy:
 | 
			
		||||
 | 
			
		||||
    root_url = "http://127.0.0.1:5000"
 | 
			
		||||
 | 
			
		||||
    def setup_class(self):
 | 
			
		||||
        # startup the simple server (only needed for this example)
 | 
			
		||||
        # This will get destroyed automatically, when the tests end
 | 
			
		||||
        Popen("sh pipenv run python app/simple.py", shell=True, stdout=PIPE, stderr=PIPE)
 | 
			
		||||
 | 
			
		||||
    def teardown_class(self):
 | 
			
		||||
        # deletes the captured sessions
 | 
			
		||||
        os.remove("tests/test_version_call.db")
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user