コード例 #1
0
ファイル: test_tools.py プロジェクト: klingtnet/ssf-project
 def test_dest_check(self):
     argv = [local_filepath, self.bad_dest_path]
     assert cli._check_dest(self.bad_dest_path) is False
     assert cli.get_args(argv) is None
コード例 #2
0
ファイル: test_tools.py プロジェクト: klingtnet/ssf-project
 def test_remote(self, tmpdir):
     argv = [remote_filepath, tmpdir.strpath]
     assert cli.get_args(argv) is not None
コード例 #3
0
ファイル: test_tools.py プロジェクト: klingtnet/ssf-project
 def test_local(self, tmpdir):
     argv = [local_filepath, tmpdir.strpath]
     assert cli.get_args(argv) is not None
コード例 #4
0
 def test_dest_check(self):
     argv = [local_filepath, self.bad_dest_path]
     assert cli._check_dest(self.bad_dest_path) is False
     assert cli.get_args(argv) is None
コード例 #5
0
 def test_remote(self, tmpdir):
     argv = [remote_filepath, tmpdir.strpath]
     assert cli.get_args(argv) is not None
コード例 #6
0
 def test_local(self, tmpdir):
     argv = [local_filepath, tmpdir.strpath]
     assert cli.get_args(argv) is not None