Skip to content

Commit

Permalink
✅ Again change the UUID to match the hardcoded value in `TestRunGreed…
Browse files Browse the repository at this point in the history
…yIncrementalModel.py`

The `emission/tests/modellingTests/TestRunGreedyIncrementalModel.py` test case
has a hardcoded user_id of `aa9fdec9-2944-446c-8ee2-50d79b3044d3`.
Since we changed the user id in
21335df

The test failed

```
======================================================================
FAIL: testIncrementalRun (modellingTests.TestRunGreedyIncrementalModel.TestRunGreedyModel)
incremental trip models train from Confirmedtrip entries at most
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/runner/work/e-mission-server/e-mission-server/emission/tests/modellingTests/TestRunGreedyIncrementalModel.py", line 63, in setUp
    self.fail()
AssertionError: None

----------------------------------------------------------------------
```

Fixed by changing the userid back
  • Loading branch information
shankari committed Jun 21, 2023
1 parent 517b365 commit 3c52375
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"$oid": "64930c17bc502f4aa1dc144e"
},
"user_id": {
"$uuid": "9ee98d7a13114e9ea2ac878862821e67"
"$uuid": "aa9fdec92944446c8ee250d79b3044d3"
},
"metadata": {
"key": "analysis/confirmed_trip",
Expand Down Expand Up @@ -122,7 +122,7 @@
"$oid": "64930c17bc502f4aa1dc1450"
},
"user_id": {
"$uuid": "9ee98d7a13114e9ea2ac878862821e67"
"$uuid": "aa9fdec92944446c8ee250d79b3044d3"
},
"metadata": {
"key": "analysis/confirmed_trip",
Expand Down Expand Up @@ -237,7 +237,7 @@
"$oid": "64930c18bc502f4aa1dc1452"
},
"user_id": {
"$uuid": "9ee98d7a13114e9ea2ac878862821e67"
"$uuid": "aa9fdec92944446c8ee250d79b3044d3"
},
"metadata": {
"key": "analysis/confirmed_trip",
Expand Down Expand Up @@ -352,7 +352,7 @@
"$oid": "64930c18bc502f4aa1dc1454"
},
"user_id": {
"$uuid": "9ee98d7a13114e9ea2ac878862821e67"
"$uuid": "aa9fdec92944446c8ee250d79b3044d3"
},
"metadata": {
"key": "analysis/confirmed_trip",
Expand Down Expand Up @@ -470,7 +470,7 @@
"$oid": "64930c18bc502f4aa1dc1456"
},
"user_id": {
"$uuid": "9ee98d7a13114e9ea2ac878862821e67"
"$uuid": "aa9fdec92944446c8ee250d79b3044d3"
},
"metadata": {
"key": "analysis/confirmed_trip",
Expand Down Expand Up @@ -594,7 +594,7 @@
"$oid": "64930c18bc502f4aa1dc1458"
},
"user_id": {
"$uuid": "9ee98d7a13114e9ea2ac878862821e67"
"$uuid": "aa9fdec92944446c8ee250d79b3044d3"
},
"metadata": {
"key": "analysis/confirmed_trip",
Expand Down Expand Up @@ -713,4 +713,4 @@
"additions": []
}
}
]
]

0 comments on commit 3c52375

Please sign in to comment.