@@ -17,8 +17,8 @@ def test_cloudflare(debug=False):
1717 cf = CloudFlare .CloudFlare (debug = debug )
1818 assert isinstance (cf , CloudFlare .CloudFlare )
1919
20- def test_app_invalid ():
21- """ test_app_invalid """
20+ def test_add_invalid ():
21+ """ test_add_invalid """
2222 """add API commands"""
2323 cf .add ('OPEN' , 'invalid' )
2424 try :
@@ -31,7 +31,7 @@ def test_app_invalid():
3131 assert str (e ) == 'No route for that URI'
3232 print ('Error expected: %d=%s' % (int (e ), str (e )), file = sys .stderr )
3333
34- def test_app_invalid_with_underscore ():
34+ def test_add_invalid_with_underscore ():
3535 """add API commands"""
3636 cf .add ('OPEN' , 'in_valid' )
3737 try :
@@ -44,7 +44,7 @@ def test_app_invalid_with_underscore():
4444 assert str (e ) == 'No route for that URI'
4545 print ('Error expected: %d=%s' % (int (e ), str (e )), file = sys .stderr )
4646
47- def test_app_invalid_with_dash ():
47+ def test_add_invalid_with_dash ():
4848 """add API commands"""
4949 cf .add ('OPEN' , 'in-val-id' )
5050 try :
@@ -59,6 +59,6 @@ def test_app_invalid_with_dash():
5959
6060if __name__ == '__main__' :
6161 test_cloudflare (debug = True )
62- test_app_invalid ()
63- test_app_invalid_with_underscore ()
64- test_app_invalid_with_dash ()
62+ test_add_invalid ()
63+ test_add_invalid_with_underscore ()
64+ test_add_invalid_with_dash ()
0 commit comments