Permalink
Browse files

updated testcases

  • Loading branch information...
1 parent 76a3b57 commit 4511d3b1ec5e7046d042e7f3f870cde32d962a35 @shrenik shrenik committed Sep 3, 2012
Showing with 8 additions and 1 deletion.
  1. +8 −1 cdr_stats/cdr/tests.py
View
@@ -461,11 +461,18 @@ def tearDown(self):
def test_mgt_command(self):
# Test mgt command
call_command('generate_cdr',
- '--number-cdr=500', '--delta-day=1', '--duration=10')
+ '--number-cdr=100', '--delta-day=1', '--duration=10')
+ call_command('generate_cdr',
+ '--number-cdr=100', '--delta-day=0', '--duration=0')
+ call_command('generate_cdr', '--number-cdr=100', '--delta-day=0')
+ call_command('generate_cdr', '--number-cdr=100')
call_command('sync_cdr_freeswitch', '--apply-index')
+ call_command('sync_cdr_freeswitch')
call_command('sync_cdr_asterisk', '--apply-index')
+ call_command('sync_cdr_asterisk')
call_command('generate_concurrent_call', '--delta-day=1')
+ call_command('generate_concurrent_call')

0 comments on commit 4511d3b

Please sign in to comment.