Did I find the right examples for you? yes no

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)

src/r/a/ralph_pricing-HEAD/src/ralph_pricing/tests/report_plugins/test_usage_base.py   ralph_pricing(Download)
 
from ralph_pricing import models
from ralph_pricing.plugins.reports.usage import UsagePlugin
 
 
        du.save()
        result = UsagePlugin(
            usage_type=self.usage_type,
            start=datetime.date(2013, 10, 10),
            end=datetime.date(2013, 10, 13),
    def test_schema(self):
        result = UsagePlugin(
            usage_type=self.usage_type,
            type='schema'
        )
    def test_schema_with_warehouse(self):
        result = UsagePlugin(
            usage_type=self.usage_type_cost_wh,
            type='schema'
        )
    def test_usages_schema(self):
        result = UsagePlugin(
            usage_type=self.usage_type_cost_wh,
            type='dailyusages_header'
        )