"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/gui/shared/steps/steps.py" between
ownCloud-2.9.0.5150.tar.xz and ownCloud-2.9.1.5500.tar.xz

About: ownCloud Client (formerly "mirall") is a tool to synchronize files from ownCloud Server with your desktop client. It uses OCSync as its syncing backend.

steps.py  (ownCloud-2.9.0.5150.tar.xz):steps.py  (ownCloud-2.9.1.5500.tar.xz)
skipping to change at line 374 skipping to change at line 374
names.o_treeWidget_Conflict_Server_version_downloaded_local_copy_ren amed_and_not_uploaded_QModelIndex names.o_treeWidget_Conflict_Server_version_downloaded_local_copy_ren amed_and_not_uploaded_QModelIndex
).displayText, ).displayText,
"Conflict: Server version downloaded, local copy renamed and not uploade d.", "Conflict: Server version downloaded, local copy renamed and not uploade d.",
) )
@Then('the table of conflict warnings should include file "|any|"') @Then('the table of conflict warnings should include file "|any|"')
def step(context, filename): def step(context, filename):
activity = Activity() activity = Activity()
activity.checkFileExist(filename) activity.checkFileExist(filename)
@When('the user selects the unsynced files tab') @When('the user selects "|any|" tab in the activity')
def step(context): def step(context, tabName):
activity = Activity() activity = Activity()
activity.clickTab("Not Synced") activity.clickTab(tabName)
def openSharingDialog(context, resource, itemType='file'): def openSharingDialog(context, resource, itemType='file'):
resource = sanitizePath(substituteInLineCodes(context, resource)) resource = sanitizePath(substituteInLineCodes(context, resource))
if itemType == 'folder': if itemType == 'folder':
waitFor( waitFor(
lambda: isFolderSynced(resource), lambda: isFolderSynced(resource),
context.userData['clientSyncTimeout'] * 1000, context.userData['clientSyncTimeout'] * 1000,
) )
elif itemType == 'file': elif itemType == 'file':
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)