Module Expr Str Assign NameStore Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list Expr Call NameLoad Num Num TupleLoad Num NameLoad Expr Call NameLoad Num Num TupleLoad Num NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Num TupleLoad Num NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Num TupleLoad Num NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Num TupleLoad Num NameLoad Expr Call NameLoad Num Num TupleLoad Num Str Expr Call NameLoad Num Num TupleLoad Num Str Expr Call NameLoad Call AttributeLoad NameLoad attr Num TupleLoad Num Str Expr Call NameLoad Call AttributeLoad NameLoad attr Num TupleLoad Num Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If AttributeLoad NameLoad attr body Print BinOpMod Str TupleLoad TupleLoad NameLoad NameLoad NameLoad decorator_list Expr Call NameLoad Num TupleLoad Num NameLoad Expr Call NameLoad Num TupleLoad Num NameLoad Expr Call NameLoad Num TupleLoad Num NameLoad Expr Call NameLoad Num TupleLoad Num NameLoad Expr Call NameLoad Num TupleLoad Num NameLoad Expr Call NameLoad Num TupleLoad Num Str Expr Call NameLoad Num TupleLoad Num Str Expr Call NameLoad Num TupleLoad Num Str Expr Call NameLoad Num TupleLoad Num Str decorator_list decorator_list
N/A N/A Tests for asset ids.

The output of this test should be used to verify the client-side
server id generation tests.
 N/A __author__ spencer@emailscrubbed.com (Spencer Kimball) N/A time N/A unittest viewfinder.backend.db.activity Activity viewfinder.backend.db.asset_id AssetIdUniquifier viewfinder.backend.db.comment Comment viewfinder.backend.db.episode Episode viewfinder.backend.db.operation Operation viewfinder.backend.db.photo Photo viewfinder.backend.db.viewpoint Viewpoint IdTestCase N/A N/A unittest TestCase N/A N/A _PRINT_RESULTS False testActivityIds N/A N/A self N/A N/A N/A Test activity ids. N/A N/A N/A self _TestIdRoundTripWithTimestamp N/A Activity ConstructActivityId N/A Activity DeconstructActivityId N/A testCommentIds N/A N/A self N/A N/A N/A Test comment ids. N/A N/A N/A self _TestIdRoundTripWithTimestamp N/A Comment ConstructCommentId N/A Comment DeconstructCommentId N/A testEpisodeIds N/A N/A self N/A N/A N/A Test episode ids. N/A N/A N/A self _TestIdRoundTripWithTimestamp N/A Episode ConstructEpisodeId N/A Episode DeconstructEpisodeId N/A testOperationIds N/A N/A self N/A N/A N/A Test operation ids. N/A N/A N/A self _TestIdRoundTrip N/A Operation ConstructOperationId N/A Operation DeconstructOperationId N/A testPhotoIds N/A N/A self N/A N/A N/A Test photo ids. N/A N/A N/A self _TestIdRoundTripWithTimestamp N/A Photo ConstructPhotoId N/A Photo DeconstructPhotoId N/A testViewpointIds N/A N/A self N/A N/A N/A Test viewpoint ids. N/A N/A N/A self _TestIdRoundTrip N/A Viewpoint ConstructViewpointId N/A Viewpoint DeconstructViewpointId N/A _TestIdRoundTripWithTimestamp N/A N/A self construct deconstruct N/A N/A N/A Round-trip id with a timestamp. _RoundTrip N/A N/A timestamp device_id uniquifier N/A N/A N/A asset_id N/A construct timestamp device_id uniquifier N/A N/A actual_timestamp actual_device_id actual_uniquifier N/A deconstruct asset_id N/A N/A N/A self assertEqual N/A int timestamp actual_timestamp N/A N/A N/A self assertEqual device_id actual_device_id N/A N/A N/A self assertEqual uniquifier actual_uniquifier N/A N/A IdTestCase _PRINT_RESULTS N/A N/A N/A %r => %s N/A N/A timestamp device_id uniquifier asset_id N/A N/A N/A _RoundTrip 0 0 N/A 0 None N/A N/A _RoundTrip 1234234.12342 127 N/A 128 None N/A N/A _RoundTrip N/A N/A time time 128 N/A 127 None N/A N/A _RoundTrip N/A N/A time time 128 N/A 128 None N/A N/A _RoundTrip N/A N/A time time 123512341234 N/A 827348273422 None N/A N/A _RoundTrip 0 0 N/A 0 v1234 N/A N/A _RoundTrip 1234234.12342 127 N/A 128 
	
abc12300 N/A N/A _RoundTrip N/A N/A time time 128 N/A 127 1 N/A N/A _RoundTrip N/A N/A time time 128 N/A 128 N/A _TestIdRoundTrip N/A N/A self construct deconstruct N/A N/A N/A Round-trip id. _RoundTrip N/A N/A device_id device_local_id N/A N/A N/A server_id N/A construct device_id device_local_id N/A N/A actual_device_id actual_device_local_id N/A deconstruct server_id N/A N/A N/A self assertEqual device_id actual_device_id N/A N/A N/A self assertEqual device_local_id actual_device_local_id N/A N/A IdTestCase _PRINT_RESULTS N/A N/A N/A %r => %s N/A N/A device_id device_local_id server_id N/A N/A N/A _RoundTrip 0 N/A 0 None N/A N/A _RoundTrip 127 N/A 128 None N/A N/A _RoundTrip 128 N/A 127 None N/A N/A _RoundTrip 128 N/A 128 None N/A N/A _RoundTrip 123512341234 N/A 827348273422 None N/A N/A _RoundTrip 0 N/A 0 v1234 N/A N/A _RoundTrip 127 N/A 128 
	
abc12300 N/A N/A _RoundTrip 128 N/A 127 1 N/A N/A _RoundTrip 128 N/A 128 N/A N/A