#NEWLINE# def test_post_plugin_package_different_versions( self ) : #NEWLINE# #INDENT# response_a = self . upload_plugin ( TEST_PACKAGE_NAME , TEST_PACKAGE_VERSION ) #NEWLINE# self . assertEquals ( '201 CREATED' , response_a . _status ) #NEWLINE# response_b = self . upload_plugin ( TEST_PACKAGE_NAME , OLD_TEST_PACKAGE_VERSION ) #NEWLINE# self . assertEquals ( '201 CREATED' , response_b . _status ) #NEWLINE# self . assertNotEquals ( response_a . json . get ( 'package_version' ) , response_b . json . get ( 'package_version' ) ) #NEWLINE# self . assertNotEquals ( response_a . json . get ( 'archive_name' ) , response_b . json . get ( 'archive_name' ) )