Make the TestResource a bit smarter

This is a better representation of how actual resources work.

1. implement check_*_complete
2. measure the time, not just do one sleep
3. add client_name and entity_name so we can actually talk to a service
   (even if it fails).
4. add some example usage in test_create_update.py
5. don't use json_snippet._properties

The timeout works in a similar way to the waitcondition.

Change-Id: I7d3fd0340fefe4a06b8d4f0952c162be604aa58c
2 files changed
tree: 0d94450504ec5674fe186856f24c7da34c5419d2
  1. common/
  2. functional/
  3. scenario/