Skip to content

Commit

Permalink
have test_display_sharers.py and fixtures for future unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
ruixia committed Jan 30, 2012
1 parent aa21763 commit 112d59c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions test_display_sharers.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
from wordout.models import *
from django.db import connection

def test_shit():
customer = Customer.objects.get(pk=1)
result = customer.display_sharers(order_by='action_count',action_type_id=1)
print len(connection.queries)
return result
8 changes: 0 additions & 8 deletions tests.py
Original file line number Diff line number Diff line change
@@ -1,8 +0,0 @@
from wordout.models import *
from django.db import connection

def test_shit():
customer = Customer.objects.get(pk=1)
result = customer.display_sharers(order_by='action_count',action_type_id=1)
print len(connection.queries)
return result
Empty file.

0 comments on commit 112d59c

Please sign in to comment.