| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e836e5c commit 0eafe20
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,6 @@ | |||
| 1 | + tree 9f1a495d7d9692d24f5caedaa89f5c2c32d59368 | ||
| 2 | + parent 492ace2ffce0e426ebeb55e364e987bcf024dd3b | ||
| 3 | + author E.Azer Ko�o�o�oculu <azer@kodfabrik.com> 1306710073 +0300 | ||
| 4 | + committer E.Azer Ko�o�o�oculu <azer@kodfabrik.com> 1306710073 +0300 | ||
| 5 | + | ||
| 6 | + add environjs | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -306,6 +306,13 @@ def test_serialization_unicode_support(self): | |||
| 306 | 306 | # it appears | |
| 307 | 307 | cmt.author.__repr__() | |
| 308 | 308 | ||
| 309 | + def test_invalid_commit(self): | ||
| 310 | + cmt = self.rorepo.commit() | ||
| 311 | + cmt._deserialize(open(fixture_path('commit_invalid_data'), 'rb')) | ||
| 312 | + | ||
| 313 | + assert cmt.author.name == u'E.Azer Ko�o�o�oculu', cmt.author.name | ||
| 314 | + assert cmt.author.email == 'azer@kodfabrik.com', cmt.author.email | ||
| 315 | + | ||
| 309 | 316 | def test_gpgsig(self): | |
| 310 | 317 | cmt = self.rorepo.commit() | |
| 311 | 318 | cmt._deserialize(open(fixture_path('commit_with_gpgsig'), 'rb')) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments