mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 12:22:47 +00:00 
			
		
		
		
	Rename cli functions to not interfere
This commit is contained in:
		@@ -17,7 +17,7 @@ def register(app):
 | 
			
		||||
        pass
 | 
			
		||||
 | 
			
		||||
    @daemon.command()
 | 
			
		||||
    def run():
 | 
			
		||||
    def run_daemon():
 | 
			
		||||
        """Run daemon"""
 | 
			
		||||
        from app.daemon import Daemon
 | 
			
		||||
        daemon = Daemon()
 | 
			
		||||
@@ -29,7 +29,7 @@ def register(app):
 | 
			
		||||
        pass
 | 
			
		||||
 | 
			
		||||
    @test.command()
 | 
			
		||||
    def run():
 | 
			
		||||
    def run_test():
 | 
			
		||||
        """Run unit tests."""
 | 
			
		||||
        import unittest
 | 
			
		||||
        tests = unittest.TestLoader().discover('tests')
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user