mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-21 19:23:05 +00:00
Fix modified state in test
This commit is contained in:
parent
d90e1a74ac
commit
b648933963
1 changed files with 1 additions and 4 deletions
|
@ -1,10 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
import pytest
|
||||
|
||||
|
||||
def test_audio_Artist_attr(a_artist):
|
||||
print(os.environ.get('PLEX_TEST_USERNAME', '<NA>'))
|
||||
m = a_artist
|
||||
m.reload()
|
||||
assert str(m.addedAt.date()) == '2017-01-17'
|
||||
|
@ -24,7 +21,7 @@ def test_audio_Artist_attr(a_artist):
|
|||
assert m.title == 'Infinite State'
|
||||
assert m.titleSort == 'Infinite State'
|
||||
assert m.type == 'artist'
|
||||
assert str(m.updatedAt.date()) == '2017-01-25'
|
||||
assert str(m.updatedAt.date()) == '2017-02-02'
|
||||
assert m.viewCount == 0
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue