Cleanup different places using unix_time()
This commit is contained in:
parent
eabcb3d39c
commit
705ec314a3
15 changed files with 60 additions and 82 deletions
|
|
@ -1,10 +1,6 @@
|
|||
from freezegun import freeze_time
|
||||
from sure import expect
|
||||
import sure # noqa
|
||||
|
||||
from moto.swf.utils import (
|
||||
decapitalize,
|
||||
now_timestamp,
|
||||
)
|
||||
from moto.swf.utils import decapitalize
|
||||
|
||||
|
||||
def test_decapitalize():
|
||||
|
|
@ -15,7 +11,3 @@ def test_decapitalize():
|
|||
}
|
||||
for before, after in cases.items():
|
||||
decapitalize(before).should.equal(after)
|
||||
|
||||
@freeze_time("2015-01-01 12:00:00")
|
||||
def test_now_timestamp():
|
||||
now_timestamp().should.equal(1420113600.0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue