Add wrapping of __name__ and __doc__
This commit is contained in:
parent
66965c041e
commit
a5b6e456b9
@ -8,6 +8,8 @@ def populate_playlist(func):
|
||||
self.backend.current_playlist.add(uri)
|
||||
return func(self)
|
||||
|
||||
wrapper.__name__ = func.__name__
|
||||
wrapper.__doc__ = func.__doc__
|
||||
return wrapper
|
||||
|
||||
class BaseCurrentPlaylistControllerTest(object):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user