<s> import os <EOL> from click . testing import CliRunner <EOL> from steve . cmdline import cli <EOL> class TestCmdlineHelp : <EOL> def test_help ( self ) : <EOL> """<STR_LIT>""" <EOL> runner = CliRunner ( ) <EOL> result = runner . invoke ( cli , ( ) ) <EOL> assert result . exit_code == <NUM_LIT:0> <EOL> assert '<STR_LIT>' in result . output . splitlines ( ) [ <NUM_LIT:0> ] <EOL> class TestCreateproject : <EOL> def test_help ( self ) : <EOL> runner = CliRunner ( ) <EOL> result = runner . invoke ( cli , ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> assert result . exit_code == <NUM_LIT:0> <EOL> def test_basic ( self ) : <EOL> runner = CliRunner ( ) <EOL> with runner . isolated_filesystem ( ) : <EOL> path = os . getcwd ( ) <EOL> result = runner . invoke ( cli , ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> assert result . exit_code == <NUM_LIT:0> <EOL> assert os . path . exists ( os . path . join ( path , '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> def test_directory_already_exists ( self ) : <EOL> runner = CliRunner ( ) <EOL> with runner . isolated_filesystem ( ) : <EOL> path = os . getcwd ( ) <EOL> testprjpath = os . path . join ( path , '<STR_LIT>' ) <EOL> os . makedirs ( testprjpath ) <EOL> result = runner . invoke ( cli , ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> assert result . exit_code == <NUM_LIT:1> <EOL> assert '<STR_LIT>' . format ( os . path . join ( path , '<STR_LIT>' ) ) in result . output <EOL> class TestFetch : <EOL> def test_help ( self ) : <EOL> runner = CliRunner ( ) <EOL> result = runner . invoke ( cli , ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> assert result . exit_code == <NUM_LIT:0> <EOL> class TestPull : <EOL> def test_help ( self ) : <EOL> runner = CliRunner ( ) <EOL> result = runner . invoke ( cli , ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> assert result . exit_code == <NUM_LIT:0> <EOL> class TestPush : <EOL> def test_help ( self ) : <EOL> runner = CliRunner ( ) <EOL> result = runner . invoke ( cli , ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> assert result . exit_code == <NUM_LIT:0> <EOL> class TestScrapevideo : <EOL> def test_help ( self ) : <EOL> runner = CliRunner ( ) <EOL> result = runner . invoke ( cli , ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> assert result . exit_code == <NUM_LIT:0> <EOL> class TestStatus : <EOL> def test_help ( self ) : <EOL> runner = CliRunner ( ) <EOL> result = runner . invoke ( cli , ( '<STR_LIT:status>' , '<STR_LIT>' ) ) <EOL> assert result . exit_code == <NUM_LIT:0> <EOL> class TestVerify : <EOL> def test_help ( self ) : <EOL> runner = CliRunner ( ) <EOL> result = runner . invoke ( cli , ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> assert result . exit_code == <NUM_LIT:0> <EOL> class TestWebedit : <EOL> def test_help ( self ) : <EOL> runner = CliRunner ( ) <EOL> result = runner . invoke ( cli , ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> assert result . exit_code == <NUM_LIT:0> </s>
