-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add some conditions to condition parser
- Loading branch information
1 parent
e5d5c56
commit 0e08ffb
Showing
13 changed files
with
97 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
pytest/test_strategies/cases/remove_conditions/test_average_downloadspeed_gt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
test: | ||
remove: average_downloadspeed > 9800 | ||
remove: | ||
- Torrent - 13 |
5 changes: 5 additions & 0 deletions
5
pytest/test_strategies/cases/remove_conditions/test_average_downloadspeed_lt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
test: | ||
remove: average_downloadspeed < 500 | ||
remove: | ||
- Torrent - 1 | ||
- Torrent - 2 |
5 changes: 5 additions & 0 deletions
5
pytest/test_strategies/cases/remove_conditions/test_average_uploadspeed_gt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
test: | ||
remove: average_uploadspeed > 900 | ||
remove: | ||
- Torrent - 15 | ||
- Torrent - 16 |
5 changes: 5 additions & 0 deletions
5
pytest/test_strategies/cases/remove_conditions/test_average_uploadspeed_lt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
test: | ||
remove: average_uploadspeed < 100 | ||
remove: | ||
- Torrent - 1 | ||
- Torrent - 6 |
4 changes: 4 additions & 0 deletions
4
pytest/test_strategies/cases/remove_conditions/test_connected_leecher_gt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
test: | ||
remove: connected_leecher > 100 | ||
remove: | ||
- Torrent - 1 |
7 changes: 7 additions & 0 deletions
7
pytest/test_strategies/cases/remove_conditions/test_connected_leecher_lt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
test: | ||
remove: connected_leecher < 1 | ||
remove: | ||
- Torrent - 3 | ||
- Torrent - 4 | ||
- Torrent - 7 | ||
- Torrent - 9 |
5 changes: 5 additions & 0 deletions
5
pytest/test_strategies/cases/remove_conditions/test_connected_seeder_gt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
test: | ||
remove: connected_seeder > 0 | ||
remove: | ||
- Torrent - 1 | ||
- Torrent - 12 |
13 changes: 13 additions & 0 deletions
13
pytest/test_strategies/cases/remove_conditions/test_connected_seeder_lt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
test: | ||
remove: connected_seeder < 1 | ||
remove: | ||
- Torrent - 2 | ||
- Torrent - 3 | ||
- Torrent - 4 | ||
- Torrent - 5 | ||
- Torrent - 6 | ||
- Torrent - 7 | ||
- Torrent - 8 | ||
- Torrent - 9 | ||
- Torrent - 10 | ||
- Torrent - 11 |
4 changes: 4 additions & 0 deletions
4
pytest/test_strategies/cases/remove_conditions/test_leecher_gt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
test: | ||
remove: leecher > 100 | ||
remove: | ||
- Torrent - 1 |
10 changes: 10 additions & 0 deletions
10
pytest/test_strategies/cases/remove_conditions/test_leecher_lt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
test: | ||
remove: leecher < 10 | ||
remove: | ||
- Torrent - 4 | ||
- Torrent - 5 | ||
- Torrent - 7 | ||
- Torrent - 8 | ||
- Torrent - 9 | ||
- Torrent - 13 | ||
- Torrent - 14 |
14 changes: 14 additions & 0 deletions
14
pytest/test_strategies/cases/remove_conditions/test_seeder_gt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
test: | ||
remove: seeder > 1 | ||
remove: | ||
- Torrent - 3 | ||
- Torrent - 4 | ||
- Torrent - 5 | ||
- Torrent - 6 | ||
- Torrent - 7 | ||
- Torrent - 8 | ||
- Torrent - 9 | ||
- Torrent - 10 | ||
- Torrent - 13 | ||
- Torrent - 14 | ||
- Torrent - 16 |
8 changes: 8 additions & 0 deletions
8
pytest/test_strategies/cases/remove_conditions/test_seeder_lt.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
test: | ||
remove: seeder < 2 | ||
remove: | ||
- Torrent - 1 | ||
- Torrent - 2 | ||
- Torrent - 11 | ||
- Torrent - 12 | ||
- Torrent - 15 |