def test_include__accounting(self): includes = IncludesBuilder() includes.include("late_reminders") assert includes.build( "AccountingResource") == "&include[]=late_reminders" assert str(includes) == "IncludesBuilder(&include[]=late_reminders)"
def test_include__project(self): includes = IncludesBuilder() includes.include("include_overdue_fees") assert includes.build( "ProjectResource") == "&include_overdue_fees=true"