21 lines
560 B
Python
21 lines
560 B
Python
import unittest
|
|
import praw
|
|
import dotenv
|
|
from datetime import datetime
|
|
|
|
import discord
|
|
from discord.ext import commands
|
|
|
|
import Points
|
|
|
|
class TestPoints(unittest.TestCase):
|
|
def setUp(self):
|
|
dotenv.load_dotenv()
|
|
intents = discord.Intents.default()
|
|
intents.message_content = True
|
|
intents.members = True
|
|
bot = commands.Bot(command_prefix=commands.when_mentioned_or('!'), description='Stroopwafel. Shitpost bot extraordinaire.', pm_help=True, intents=intents)
|
|
self.cog = Points.Points(bot)
|
|
|
|
def test_getUserBalance(self):
|
|
self.assertEqual(2, 1+1) |