Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
skycastlelily committed Apr 12, 2024
1 parent ada3726 commit 21ef267
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/unit/provision/mrack/test_hw.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def test_maximal_constraint(root_logger: Logger) -> None:
'and': [
{
'cpu': {
'cpu_count': {
'processors': {
'_op': '>',
'_value': '8'
}
Expand Down Expand Up @@ -280,7 +280,7 @@ def test_cpu_processors(root_logger: Logger) -> None:

assert result.to_mrack() == {
'cpu': {
'cpu_count': {
'processors': {
'_op': '==',
'_value': '79'
}
Expand Down
2 changes: 1 addition & 1 deletion tmt/steps/provision/mrack.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ def _transform_cpu_processors(

return MrackHWGroup(
'cpu',
children=[MrackHWBinOp('cpu_count', beaker_operator, actual_value)])
children=[MrackHWBinOp('processors', beaker_operator, actual_value)])


def _transform_disk_driver(
Expand Down

0 comments on commit 21ef267

Please sign in to comment.