From a4bb559bee98c48a6a372a7ffc15b027e365ff6c Mon Sep 17 00:00:00 2001 From: mike Date: Fri, 06 Nov 2009 03:23:24 +0000 Subject: LP 458452 : Fixing function names for Translator tests --- (limited to 'tutorius/vault.py') diff --git a/tutorius/vault.py b/tutorius/vault.py index 9cda2e9..ec08d01 100644 --- a/tutorius/vault.py +++ b/tutorius/vault.py @@ -323,7 +323,7 @@ class Vault(object): @staticmethod - def add_ressource(tutorial_guid, file_path): + def add_resource(tutorial_guid, file_path): """ Returns a unique name for this resource composed from the original name of the file and a suffix to make it unique ( ex: name_1.jpg ) and add it to the resources for the tutorial. @@ -354,7 +354,7 @@ class Vault(object): @staticmethod - def delete_ressource(tutorial_guid, ressource_id): + def delete_resource(tutorial_guid, ressource_id): """ Delete the resource from the resources of the tutorial. @param tutorial_guid the guid of the tutorial @@ -372,7 +372,7 @@ class Vault(object): print('File not found, no delete took place') @staticmethod - def get_ressource_path(tutorial_guid, ressource_id): + def get_resource_path(tutorial_guid, ressource_id): """ Returns the absolute file path to the resourceID @param tutorial_guid the guid of the tutorial -- cgit v0.9.1