diff options
| author | Bhuvan Arumugam <bhuvan@apache.org> | 2012-05-06 15:13:44 -0700 |
|---|---|---|
| committer | Bhuvan Arumugam <bhuvan@apache.org> | 2012-05-12 07:16:59 -0700 |
| commit | 2e1371a13205cd494dc4b9ade79ae20b607256b1 (patch) | |
| tree | a39e42a325d602d3b30d59a26dbd8d7cc58afafc /openstack/common | |
| parent | b74081884696f943a23aa8b31b4275e7819a1c21 (diff) | |
| download | oslo-2e1371a13205cd494dc4b9ade79ae20b607256b1.tar.gz oslo-2e1371a13205cd494dc4b9ade79ae20b607256b1.tar.xz oslo-2e1371a13205cd494dc4b9ade79ae20b607256b1.zip | |
Tests to cover various mailmap formats.
Bug: 994957
Mailmap might include entries in different format:
Full Name <email@foo.com> Full Name <email@bar.com>
Firstname <email@foo.com> Firstname <email@bar.com>
<email@foo.com> <email@bar.com>
This commit adds a test case to parse these entries.
* tests/unit/test_setup.py
Remove unused imports.
Import os and setup methods to verify.
SetupTest: Define unique test case name.
setUp(): New method to define temporary mailmap file.
tearDown(): New method to remove the temporary mailmap file.
test_mailmap_with_fullname(): New method to test mailmap entry
with fullname.
test_mailmap_with_firstname(): New method to test mailmap entry
with first name only.
test_mailmap_with_noname(): New method to test mailmap entry with
just email addresses.
Change-Id: Icc018d4b2692ce7a7de757f02d1dd49241c30a6c
Diffstat (limited to 'openstack/common')
0 files changed, 0 insertions, 0 deletions
