Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
guinslym committed Mar 21, 2020
1 parent 576ecda commit 21a8548
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Example:

from ask_schools import find_school_by_operator_suffix

def check_school_name_equal_toronto():
def test_check_school_name_equal_toronto():
result = find_school_by_operator_suffix('_tor')
assert result == 'Tordonto'
```
Expand Down
5 changes: 4 additions & 1 deletion ask_schools/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.3.1"
__version__ = "0.3.3"

suffixes = ["york","tor","sp","gue","otech","mac","west","ott","rye","brk","queens","lake","guehum","york.fr","ocad","car","stp.fr","lan","lan.fr","alg","int","int.fr","uoit"]
suffixes_school = ["York University","University of Toronto","Scholars-Portal","Guelph University","Ontario Tech","McMaster University","Western University","Ottawa University","Ryerson University","Brock University","Queen's University","Lakehead University","Guelph-Humber University","York University","OCAD University","Carleton University","Saint-Paul University","Laurentian University","Laurentian University","Algoma University","Mentee","Mentee","Ontario Tech University"]
Expand Down Expand Up @@ -198,6 +198,9 @@ def find_routing_model_by_profile_name(university_name):
else:
return "FLAT"

def remove_practice_queues(chats_this_day):
res = [chat for chat in chats_this_day if not "practice" in chat.get("queue")]
return res

if __name__ == '__main__':
pass
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ask_schools"
version = "0.3.1"
version = "0.3.3"
description = "Ask Scholars Portal School Name Conversion"
authors = ["Guinsly Mondesir <[email protected]>"]
keywords = ["Ask", "Scholars Portal", "Ontario"]
Expand Down

0 comments on commit 21a8548

Please sign in to comment.