* __new__: `diaspy.settings.Profile.getName()` method,
* __new__: `diaspy.settings.Profile.getBio()` method,
* __new__: `diaspy.settings.Profile.getLocation()` method,
-* __new__: `diaspy.settings.Profile.getLocation()` method,
+* __new__: `diaspy.settings.Profile.getTags()` method,
* __new__: `diaspy.settings.Profile.getGender()` method,
* __new__: `diaspy.settings.Profile.getBirthDate()` method,
* __new__: `diaspy.settings.Profile.isSearchable()` method,
* __new__: `diaspy.settings.Profile.isNSFW()` method,
+* __new__: `provider_display_name` parameter in `diaspy.streams.Stream.post()` (thanks @svbergerem),
* __upd__: `remeber_me` parameter in `diaspy.connection.Connection.login()`,
* __upd__: you must supply `username` and `password` parameters on init of `diaspy.connection.Connection`,
'x-csrf-token': repr(self._connection)})
if request.status_code != 201:
raise Exception('{0}: Post could not be posted.'.format(request.status_code))
-
post = Post(self._connection, request.json()['id'])
return post
self.assertEqual(testconf.user_is_nsfw, self.profile.isNSFW())
def testGettingTags(self):
- self.assertEqual(sorted(testconf.user_tags), sorted(profile.getTags()))
+ self.assertEqual(sorted(testconf.user_tags), sorted(self.profile.getTags()))
def testGettingLanguages(self):
self.assertIn(('English', 'en'), self.account.getLanguages())