Skip to content

Commit

Permalink
FIX: More
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Dec 31, 2024
1 parent 4c0905a commit 181a6ea
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
SPDX-License-Identifier: GPL-3.0-or-later
"""

import os
import tkinter as tk
import unittest
from tkinter import ttk
Expand All @@ -22,6 +23,7 @@ class TestDocumentationFrame(unittest.TestCase):
"""Test the DocumentationFrame class."""

def setUp(self) -> None:
os.environ["DISPLAY"] = ":0" # Set DISPLAY environment variable for headless mode
self.root = tk.Tk()
self.local_filesystem = Mock()
self.local_filesystem.get_documentation_text_and_url.return_value = ("Sample blog text", "http://example.com/blog")
Expand Down

0 comments on commit 181a6ea

Please sign in to comment.