File tree Expand file tree Collapse file tree 4 files changed +0
-14
lines changed Expand file tree Collapse file tree 4 files changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ def test_events(self):
146
146
issue = repository .issue (218 )
147
147
for event in issue .events ():
148
148
assert isinstance (event , github3 .issues .event .IssueEvent )
149
- assert event .issue is event .Empty
150
149
assert isinstance (event .actor , github3 .users .User )
151
150
152
151
def test_labels (self ):
Original file line number Diff line number Diff line change @@ -522,8 +522,6 @@ def test_directory_contents(self):
522
522
for (filename , content ) in contents :
523
523
assert content .name == filename
524
524
assert isinstance (content , github3 .repos .contents .Contents )
525
- assert content .content is content .Empty
526
- assert content .decoded is content .Empty
527
525
528
526
def test_edit (self ):
529
527
"""Test the ability to edit a repository."""
Original file line number Diff line number Diff line change @@ -236,10 +236,6 @@ class TestGistFile(helper.UnitHelper):
236
236
described_class = github3 .gists .file .GistFile
237
237
example_data = gist_example_short_data ()
238
238
239
- def test_no_original_content (self ):
240
- """Show that attribute original content is Empty."""
241
- assert self .instance .original_content is self .instance .Empty
242
-
243
239
def test_get_file_content_from_raw_url (self ):
244
240
"""Verify the request made to retrieve a GistFile's content."""
245
241
self .instance .content ()
Original file line number Diff line number Diff line change @@ -53,13 +53,6 @@ def test_none_creator(self):
53
53
milestone = github3 .issues .milestone .Milestone (json )
54
54
assert milestone .creator is None
55
55
56
- def test_empty_creator (self ):
57
- """Show that creator is Empty when the json attribute is left out."""
58
- json = self .instance .as_dict ().copy ()
59
- del json ['creator' ]
60
- milestone = github3 .issues .milestone .Milestone (json )
61
- assert milestone .creator is milestone .Empty
62
-
63
56
def test_due_on (self ):
64
57
"""Show that due on attribute is a datetime object."""
65
58
json = self .instance .as_dict ().copy ()
You can’t perform that action at this time.
0 commit comments