@@ -12,15 +12,15 @@ class IndexTestCase(TestCase):
12
12
def setUp (self ):
13
13
self .client = algolia_engine .client
14
14
self .user = User (name = 'Algolia' , username = "algolia" ,
15
- bio = 'Milliseconds matter' , followers_count = 42001 ,
16
- following_count = 42 , _lat = 123 , _lng = - 42.24 ,
17
- _permissions = 'read,write,admin' )
15
+ bio = 'Milliseconds matter' , followers_count = 42001 ,
16
+ following_count = 42 , _lat = 123 , _lng = - 42.24 ,
17
+ _permissions = 'read,write,admin' )
18
18
self .example = Example (uid = 4 ,
19
- name = 'SuperK' ,
20
- address = 'Finland' ,
21
- lat = 63.3 ,
22
- lng = - 32.0 ,
23
- is_admin = True )
19
+ name = 'SuperK' ,
20
+ address = 'Finland' ,
21
+ lat = 63.3 ,
22
+ lng = - 32.0 ,
23
+ is_admin = True )
24
24
self .example .category = ['Shop' , 'Grocery' ]
25
25
self .example .locations = [
26
26
{'lat' : 10.3 , 'lng' : - 20.0 },
@@ -360,4 +360,4 @@ class ExampleIndex(AlgoliaIndex):
360
360
361
361
index = ExampleIndex (Example , self .client , settings .ALGOLIA )
362
362
with self .assertRaises (AlgoliaIndexError , msg = "We should raise when the should_index property is not boolean" ):
363
- index ._should_index (self .example )
363
+ index ._should_index (self .example )
0 commit comments