Merge lp:~manishsinha/cheers/fixed-award-unaward-trophy into lp:cheers
Status: | Merged |
---|---|
Merged at revision: | 26 |
Proposed branch: | lp:~manishsinha/cheers/fixed-award-unaward-trophy |
Merge into: | lp:cheers |
Diff against target: |
271 lines (+97/-26) 7 files modified
LICENSE (+2/-1) MAINTAINERS (+1/-1) README (+12/-5) cheers/config.py (+9/-0) cheers/datastore.py (+35/-9) cheers/logic.py (+3/-4) cheers/server.py (+35/-6) |
To merge this branch: | bzr merge lp:~manishsinha/cheers/fixed-award-unaward-trophy |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Cheers | Pending | ||
Review via email:
|
Commit message
Fixed the UnawardTrophy and AwardTrophy functionality
* Implemented the AwardTrophy method
* Implement the UnawardTrophy method
* Updated the Copyright headers
Description of the change
Test out this branch
=======
Start the daemon using
./cheers-daemon
Throw the file samples/
It should get picked up.
Open D-feet and search for com.cheersproje
Call GetTrophies() -- that trophy shpold show up. get it's id should be u'some-
call the method GetAwardedTroph
Try the method AwardTrophy() and pass this - u'some-
It should work without any issues
Now call the method GetAwardedTroph
Now call UnawardTerophy() with u'some-
now call GetAwardedTroph