Commit d3f8848e434c1327b65cbbe12fbbbf0cb777ca01
1 parent
09c13ca4
Exists in
master
and in
3 other branches
Fixed a word and removed migrations
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
Showing
3 changed files
with
1 additions
and
29 deletions
Show diff stats
colab_spb/migrations/0001_initial.py
| ... | ... | @@ -1,28 +0,0 @@ |
| 1 | -# -*- coding: utf-8 -*- | |
| 2 | -from __future__ import unicode_literals | |
| 3 | - | |
| 4 | -from django.db import models, migrations | |
| 5 | - | |
| 6 | - | |
| 7 | -class Migration(migrations.Migration): | |
| 8 | - | |
| 9 | - dependencies = [ | |
| 10 | - ('gitlab', '0001_initial'), | |
| 11 | - ('super_archives', '0002_mailinglist_is_private'), | |
| 12 | - ('noosfero', '0001_initial'), | |
| 13 | - ] | |
| 14 | - | |
| 15 | - operations = [ | |
| 16 | - migrations.CreateModel( | |
| 17 | - name='CommunityAssociations', | |
| 18 | - fields=[ | |
| 19 | - ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), | |
| 20 | - ('community', models.ForeignKey(to='noosfero.NoosferoCommunity', null=True)), | |
| 21 | - ('group', models.ForeignKey(to='gitlab.GitlabGroup', null=True)), | |
| 22 | - ('mail_list', models.ForeignKey(to='super_archives.MailingList', null=True)), | |
| 23 | - ], | |
| 24 | - options={ | |
| 25 | - }, | |
| 26 | - bases=(models.Model,), | |
| 27 | - ), | |
| 28 | - ] |
colab_spb/migrations/__init__.py
colab_spb/tests/test_get_list.py
| ... | ... | @@ -17,7 +17,7 @@ class ColabSPB(TestCase): |
| 17 | 17 | response = self.client.get("/spb/get_list/?list_name=") |
| 18 | 18 | message = ("Não foi possível encontrada lista de discussão" |
| 19 | 19 | " associada a está comunidade, para mais" |
| 20 | - " detalhes contacte o administrador.") | |
| 20 | + " detalhes contate o administrador.") | |
| 21 | 21 | self.assertEqual(message, response.content) |
| 22 | 22 | self.assertEqual(404, response.status_code) |
| 23 | 23 | ... | ... |