Skip to content

Commit

Permalink
Fix: test-case in wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
psrok1 committed Mar 11, 2024
1 parent a3fc430 commit 60d1280
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/test_task_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,6 @@ def test_negate_header_existence(self):
})
self.assertTrue(task_noplatform.matches_filters(filters))

# Platform requirement is defined for type=sample
task_different_type = Task(headers={
"type": "different",
"platform": "hehe",
})
self.assertTrue(task_different_type.matches_filters(filters))

def test_negate_header_existence_but_catch_all(self):
filters = [
{
Expand Down Expand Up @@ -172,6 +165,13 @@ def test_negate_header_existence_but_catch_all(self):
})
self.assertTrue(task_noplatform.matches_filters(filters))

# Platform requirement is defined for type=sample
task_different_type = Task(headers={
"type": "different",
"platform": "hehe",
})
self.assertTrue(task_different_type.matches_filters(filters))

def test_require_header_existence(self):
filters = [
{
Expand Down

0 comments on commit 60d1280

Please sign in to comment.