mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-03 20:02:47 +00:00 
			
		
		
		
	Fix cli run commands
This commit is contained in:
		@@ -16,7 +16,7 @@ def register(app):
 | 
				
			|||||||
        """Daemon commands."""
 | 
					        """Daemon commands."""
 | 
				
			||||||
        pass
 | 
					        pass
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @daemon.command()
 | 
					    @daemon.command('run')
 | 
				
			||||||
    def run_daemon():
 | 
					    def run_daemon():
 | 
				
			||||||
        """Run daemon"""
 | 
					        """Run daemon"""
 | 
				
			||||||
        from app.daemon import Daemon
 | 
					        from app.daemon import Daemon
 | 
				
			||||||
@@ -28,7 +28,7 @@ def register(app):
 | 
				
			|||||||
        """Test commands."""
 | 
					        """Test commands."""
 | 
				
			||||||
        pass
 | 
					        pass
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @test.command()
 | 
					    @test.command('run')
 | 
				
			||||||
    def run_test():
 | 
					    def run_test():
 | 
				
			||||||
        """Run unit tests."""
 | 
					        """Run unit tests."""
 | 
				
			||||||
        import unittest
 | 
					        import unittest
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user