• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 36. Registering New WebDAV Names... > Step 5: Creating and Running Functio...

Step 5: Creating and Running Functional Tests

Now it's time to see your new namespace in action. Unfortunately, there are no WebDAV tools that can handle any namespace in a generic fashion. Therefore, you need to use functional tests to confirm the correct behavior.

First, you need to test whether PROPFIND will understand the namespace and return the right values from the annotation of the image. Here is the complete code for the functional test; you should place it in a file called ftests.py:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint