Skip to content

Commit

Permalink
Add a real-life test as well just to make sure that everything works …
Browse files Browse the repository at this point in the history
…fine
  • Loading branch information
shankari committed Jan 16, 2018
1 parent e8fdb2a commit 61019a2
Show file tree
Hide file tree
Showing 3 changed files with 711 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,277 @@
[
{
"_id": {
"$oid": "5a5d7005c442d44402e67a21"
},
"user_id": {
"$uuid": "881137a35f07417a9c12530d2ceb23ea"
},
"metadata": {
"time_zone": "America/Los_Angeles",
"plugin": "none",
"write_ts": 1516072708.88161,
"platform": "ios",
"read_ts": 0,
"key": "manual/mode_confirm",
"type": "message",
"write_local_dt": {
"year": 2018,
"month": 1,
"day": 15,
"hour": 19,
"minute": 18,
"second": 28,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"write_fmt_time": "2018-01-15T19:18:28.881610-08:00"
},
"data": {
"end_ts": 1481563931.135,
"label": "bike",
"start_ts": 1481563177.681,
"start_local_dt": {
"year": 2016,
"month": 12,
"day": 12,
"hour": 9,
"minute": 19,
"second": 37,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"start_fmt_time": "2016-12-12T09:19:37.681000-08:00",
"end_local_dt": {
"year": 2016,
"month": 12,
"day": 12,
"hour": 9,
"minute": 32,
"second": 11,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"end_fmt_time": "2016-12-12T09:32:11.135000-08:00"
}
},
{
"_id": {
"$oid": "5a5d7005c442d44402e67a25"
},
"user_id": {
"$uuid": "881137a35f07417a9c12530d2ceb23ea"
},
"metadata": {
"time_zone": "America/Los_Angeles",
"plugin": "none",
"write_ts": 1516072722.571955,
"platform": "ios",
"read_ts": 0,
"key": "manual/mode_confirm",
"type": "message",
"write_local_dt": {
"year": 2018,
"month": 1,
"day": 15,
"hour": 19,
"minute": 18,
"second": 42,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"write_fmt_time": "2018-01-15T19:18:42.571955-08:00"
},
"data": {
"end_ts": 1481565307.256,
"label": "bike",
"start_ts": 1481564056.911,
"start_local_dt": {
"year": 2016,
"month": 12,
"day": 12,
"hour": 9,
"minute": 34,
"second": 16,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"start_fmt_time": "2016-12-12T09:34:16.911000-08:00",
"end_local_dt": {
"year": 2016,
"month": 12,
"day": 12,
"hour": 9,
"minute": 55,
"second": 7,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"end_fmt_time": "2016-12-12T09:55:07.256000-08:00"
}
},
{
"_id": {
"$oid": "5a5d7005c442d44402e67a29"
},
"user_id": {
"$uuid": "881137a35f07417a9c12530d2ceb23ea"
},
"metadata": {
"time_zone": "America/Los_Angeles",
"plugin": "none",
"write_ts": 1516072729.998598,
"platform": "ios",
"read_ts": 0,
"key": "manual/mode_confirm",
"type": "message",
"write_local_dt": {
"year": 2018,
"month": 1,
"day": 15,
"hour": 19,
"minute": 18,
"second": 49,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"write_fmt_time": "2018-01-15T19:18:49.998598-08:00"
},
"data": {
"end_ts": 1481593788.738,
"label": "bike",
"start_ts": 1481592524.076,
"start_local_dt": {
"year": 2016,
"month": 12,
"day": 12,
"hour": 17,
"minute": 28,
"second": 44,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"start_fmt_time": "2016-12-12T17:28:44.076000-08:00",
"end_local_dt": {
"year": 2016,
"month": 12,
"day": 12,
"hour": 17,
"minute": 49,
"second": 48,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"end_fmt_time": "2016-12-12T17:49:48.738000-08:00"
}
},
{
"_id": {
"$oid": "5a5d7005c442d44402e67a31"
},
"user_id": {
"$uuid": "881137a35f07417a9c12530d2ceb23ea"
},
"metadata": {
"time_zone": "America/Los_Angeles",
"plugin": "none",
"write_ts": 1516072761.494732,
"platform": "ios",
"read_ts": 0,
"key": "manual/mode_confirm",
"type": "message",
"write_local_dt": {
"year": 2018,
"month": 1,
"day": 15,
"hour": 19,
"minute": 19,
"second": 21,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"write_fmt_time": "2018-01-15T19:19:21.494732-08:00"
},
"data": {
"end_ts": 1481597197.113,
"label": "walk",
"start_ts": 1481594091.492,
"start_local_dt": {
"year": 2016,
"month": 12,
"day": 12,
"hour": 17,
"minute": 54,
"second": 51,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"start_fmt_time": "2016-12-12T17:54:51.492000-08:00",
"end_local_dt": {
"year": 2016,
"month": 12,
"day": 12,
"hour": 18,
"minute": 46,
"second": 37,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"end_fmt_time": "2016-12-12T18:46:37.113000-08:00"
}
},
{
"_id": {
"$oid": "5a5d7005c442d44402e67a35"
},
"user_id": {
"$uuid": "881137a35f07417a9c12530d2ceb23ea"
},
"metadata": {
"time_zone": "America/Los_Angeles",
"plugin": "none",
"write_ts": 1516072773.816434,
"platform": "ios",
"read_ts": 0,
"key": "manual/mode_confirm",
"type": "message",
"write_local_dt": {
"year": 2018,
"month": 1,
"day": 15,
"hour": 19,
"minute": 19,
"second": 33,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"write_fmt_time": "2018-01-15T19:19:33.816434-08:00"
},
"data": {
"end_ts": 1481601004.01,
"label": "bike",
"start_ts": 1481598124.35,
"start_local_dt": {
"year": 2016,
"month": 12,
"day": 12,
"hour": 19,
"minute": 2,
"second": 4,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"start_fmt_time": "2016-12-12T19:02:04.350000-08:00",
"end_local_dt": {
"year": 2016,
"month": 12,
"day": 12,
"hour": 19,
"minute": 50,
"second": 4,
"weekday": 0,
"timezone": "America/Los_Angeles"
},
"end_fmt_time": "2016-12-12T19:50:04.010000-08:00"
}
}
]
Loading

0 comments on commit 61019a2

Please sign in to comment.