<s> import unittest <EOL> from mock import patch <EOL> import ztpserver . app <EOL> class TestApp ( unittest . TestCase ) : <EOL> @ patch ( '<STR_LIT>' ) <EOL> @ patch ( '<STR_LIT>' ) <EOL> def test_application_defaults ( self , m_repository , m_load ) : <EOL> obj = ztpserver . app . start_wsgiapp ( ) <EOL> self . assertIsInstance ( obj , ztpserver . controller . Router ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> unittest . main ( ) </s>
