Exemplo n.º 1
0
 def test_init(self, run_script_mock):
     target = 'target_dir'
     call_args = ('cp', '-ar', params._EPUB_SKELETON_PATH, target)
     epub.init(target)
     self.assertEqual(run_script_mock.call_args[0], call_args)
Exemplo n.º 2
0
 def test_init(self, run_script_mock):
     target = 'target_dir'
     call_args = ('cp', '-ar', params._EPUB_SKELETON_PATH, target)
     epub.init(target)
     self.assertEqual(run_script_mock.call_args[0], call_args)
Exemplo n.º 3
0
def handle_init(args):
    """
    Intializes basic EPUB directory structure.
    """
    epub.init(args.target)
Exemplo n.º 4
0
def handle_init(args):
    """
    Intializes basic EPUB directory structure.
    """
    epub.init(args.target)