<s> from __future__ import absolute_import <EOL> from sentry . models import Counter <EOL> from sentry . testutils import TestCase <EOL> class ProjectCounterTest ( TestCase ) : <EOL> def test_increment ( self ) : <EOL> user = self . create_user ( ) <EOL> org = self . create_organization ( owner = user ) <EOL> team = self . create_team ( organization = org ) <EOL> project = self . create_project ( team = team ) <EOL> assert Counter . increment ( project , <NUM_LIT> ) == <NUM_LIT> <EOL> assert Counter . increment ( project , <NUM_LIT:1> ) == <NUM_LIT> </s>
