Skip to content

Commit 7d69322

Browse files
committed
test: Add fixed golden tests fixtures
Add many test cases to cover for most happy and error paths. Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
1 parent 87c4c7a commit 7d69322

61 files changed

Lines changed: 374 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[project]
2+
dependencies = [
3+
"grpcio-tools >= 1.72.1, < 2", # Do not widen beyond 2!
4+
"grpcio >= 1.72.1, < 2", # Do not widen beyond 2!
5+
"protobuf >= 6.32.1, < 7", # Do not widen beyond 7!
6+
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
found conflicting UPDATED_DEPENDENCIES_JSON entries for 'grpcio'
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[
2+
{
3+
"dependencyName": "grpcio",
4+
"directory": "/sub",
5+
"packageEcosystem": "pip",
6+
"newVersion": "2.0.0"
7+
},
8+
{
9+
"dependencyName": "grpcio",
10+
"directory": "/",
11+
"packageEcosystem": "pip",
12+
"newVersion": "2.0.0"
13+
},
14+
{
15+
"dependencyName": "grpcio",
16+
"directory": "/",
17+
"packageEcosystem": "pip",
18+
"newVersion": "2.1.0"
19+
}
20+
]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[project]
2+
dependencies = [
3+
"grpcio-tools >= 1.72.1, < 2", # Do not widen beyond 2!
4+
"grpcio >= 1.72.1, < 2", # Do not widen beyond 2!
5+
"protobuf >= 6.32.1, < 7", # Do not widen beyond 7!
6+
]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[project]
2+
dependencies = [
3+
"grpcio >= 1.72.1, < 2", # Do not widen beyond 2!
4+
"grpcio >= 1.72.1, < 2", # Do not widen beyond 2!
5+
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
expected exactly one grpcio runtime range entry
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[
2+
{
3+
"dependencyName": "grpcio",
4+
"directory": "/",
5+
"packageEcosystem": "pip",
6+
"newVersion": "2.0.0"
7+
}
8+
]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[project]
2+
dependencies = [
3+
"grpcio >= 1.72.1, < 2", # Do not widen beyond 2!
4+
"grpcio >= 1.72.1, < 2", # Do not widen beyond 2!
5+
]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[project]
2+
dependencies = [
3+
"grpcio-tools >= 1.72.1, < 2", # Do not widen beyond 2!
4+
"grpcio >= 1.72.1, < 2", # Do not widen beyond 2!
5+
"protobuf >= 6.32.1, < 7", # Do not widen beyond 7!
6+
]
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
refusing to downgrade protobuf from 6.32.1 to 5.28.3

0 commit comments

Comments
 (0)