"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cloudkitty/tests/utils_tests/test_utils.py" between
cloudkitty-12.1.0.tar.gz and cloudkitty-13.0.0.tar.gz

About: OpenStack CloudKitty provides Rating-as-a-Service for OpenStack.
The "Victoria" series (latest release).

test_utils.py  (cloudkitty-12.1.0):test_utils.py  (cloudkitty-13.0.0)
skipping to change at line 21 skipping to change at line 21
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
# #
import datetime import datetime
import decimal import decimal
import fractions import fractions
import itertools import itertools
import unittest import unittest
from unittest import mock
import mock
from oslo_utils import timeutils from oslo_utils import timeutils
from cloudkitty import utils as ck_utils from cloudkitty import utils as ck_utils
def iso2dt(iso_str): def iso2dt(iso_str):
return timeutils.parse_isotime(iso_str) return timeutils.parse_isotime(iso_str)
class UtilsTimeCalculationsTest(unittest.TestCase): class UtilsTimeCalculationsTest(unittest.TestCase):
def setUp(self): def setUp(self):
self.date_ts = 1416219015 self.date_ts = 1416219015
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)