293 | | Note: TestManager artifact resources are made so that their resource ID is a string representation of their key properties, in the form of a JSON dictionary. |
294 | | This is why you see the following code, where to build a Trac Resource corresponding to a TestManager aretifact, I first build the Resource ID as the string representation of the artifact's key properties, then use it to create the Resource: |
295 | | |
296 | | {{{ |
297 | | id = get_string_from_dictionary(key) |
298 | | res = Resource(realm, id) |
299 | | }}} |
| 293 | Note: [wiki:TestManagerForTracPlugin TestManager] artifact resources are made so that their resource ID is a string representation of their key properties, in the form of a JSON dictionary. |
| 294 | This is why you see the following code, where to build a Trac Resource corresponding to a [wiki:TestManagerForTracPlugin TestManager] aretifact, I first build the Resource ID as the string representation of the artifact's key properties, then use it to create the Resource: |
| 295 | |
| 296 | {{{ |
| 297 | id = get_string_from_dictionary(key) |
| 298 | res = Resource(realm, id) |
| 299 | }}} |