-
Notifications
You must be signed in to change notification settings - Fork 8
/
test_constants.py
31 lines (27 loc) · 1.03 KB
/
test_constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
"""Constants used in unit test"""
FAKE_RELEASE_PR_BODY = """
## Alice Pote
- [x] Implemented AutomaticEmail API ([5de04973](../commit/5de049732f769ec8a2a24068514603f353e13ed4))
- [ ] Unmarked some files as executable ([c665a2c7](../commit/c665a2c79eaf5e2d54b18f5a880709f5065ed517))
## Nathan Levesque
- [x] Fixed seed data for naive timestamps (#2712) ([50d19c4a](../commit/50d19c4adf22c5ddc8b8299f4b4579c2b1e35b7f))
- [garbage] xyz
"""
OTHER_PR = {
"url": "https://api.github.com/repos/mitodl/micromasters/pulls/2985",
"html_url": "https://github.com/mitodl/micromasters/pull/2985",
"body": "not a release",
"title": "not a release",
"head": {"ref": "other-branch"},
"state": "open",
"number": 345,
}
RELEASE_PR = {
"url": "https://api.github.com/repos/mitodl/micromasters/pulls/2993",
"html_url": "https://github.com/mitodl/micromasters/pull/2993",
"body": FAKE_RELEASE_PR_BODY,
"title": "Release 0.53.3",
"head": {"ref": "release-candidate"},
"number": 234,
"state": "open",
}